|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Queue
operations.interrupted.
interrupted.
interrupted.
ThreadGroup.suspend(),
which is deprecated. Further, the behavior of this call
was never specified.
interrupted.
interrupted,
or the specified waiting time elapses.
parties have invoked await
on this barrier.
parties have invoked await
on this barrier.
interrupted.
interrupted.
Queue that additionally supports operations
that wait for elements to exist when retrieving them, and wait for
space to exist when storing them.Cancellable Runnable
actions within the Executor framework.Cancellable task, such as a FutureTask, cannot be
retrieved because the task was cancelled.Map providing additional atomic
putIfAbsent and remove methods.wait, notify
and notifyAll) into distinct objects to
give the effect of having multiple wait-sets per object, by
combining them with the use of arbitrary Lock implementations.ArrayList in which all mutative
operations (add, set, and so on) are implemented by making a fresh
copy of the underlying array.Set that uses CopyOnWriteArrayList for all of its
operations.Thread.suspend(),
which is deprecated. Further, the results of this call
were never well-defined.
Delayed instances.
Runnable tasks.Executor, ExecutorService, Future, and Cancellable classes
defined in this package.interrupted),
and then transfers the given object to it, receiving its object
in return.
interrupted, or the specified waiting
time elapses),
and then transfers the given object to it, receiving its object
in return.
acquire methods are allocated permits in the order in
which their invocation of those methods was processed
(first-in-first-out; FIFO).java.lang.System.getProperty methods and the
corresponding getTypeName methods of
the Boolean, Integer, and
Long primitive types. For example:
String classPath = System.getProperty("java.class.path",".");
if (Boolean.getBoolean("myapp.exper.mode"))
enableExpertCommands();
millis milliseconds for this thread to
die.
millis milliseconds plus
nanos nanoseconds for this thread to die.
Integer.MAX_VALUE.
Integer.MAX_VALUE, initially containing the elements of the
given collection,
added in traversal order of the collection's iterator.
libname
argument.
interrupted.
interrupted.
Condition instance that is bound to this
Lock instance.
Condition instance for use with this
Lock instance.
PriorityQueue and supplies
blocking retrieval operations.Cancellable
tasks that have been cancelled.
locks, one for read-only operations and one for writing.Lock with the same basic
behavior and semantics as the implicit monitor lock accessed using
synchronized methods and statements, but with extended
capabilities.ReadWriteLock supporting similar
semantics to ReentrantLock.Executor when a task cannot be
accepted for execution.ThreadPoolExecutor.ThreadPoolExecutor when
execute cannot accept a task.
Thread.suspend(),
which has been deprecated because it is deadlock-prone.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
Thread.suspend() for details.
Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
Executor that can schedule commands to run after a given
delay, or to execute periodically.System class contains several useful class fields
and methods.name.
Properties
argument.
run method of this thread.
ThreadDeath exception propagating up the stack). If
any of the objects previously protected by these monitors were in
an inconsistent state, the damaged objects become visible to
other threads, potentially resulting in arbitrary behavior. Many
uses of stop should be replaced by code that simply
modifies some variable to indicate that the target thread should
stop running. The target thread should check this variable
regularly, and return from its run method in an orderly fashion
if the variable indicates that it is to stop running. If the
target thread waits for long periods (on a condition variable,
for example), the interrupt method should be used to
interrupt the wait.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
Thread.stop()
(with no arguments) for details. An additional danger of this
method is that it may be used to generate exceptions that the
target thread is unprepared to handle (including checked
exceptions that the thread could not possibly throw, were it
not for this method).
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
Thread.stop() for details.
resume, deadlock results. Such
deadlocks typically manifest themselves as "frozen" processes.
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
Thread.suspend() for details.
Thread object.
Thread object.
Thread object.
Thread object.
Thread object.
Thread object.
Thread object so that it has
target as its run object, has the specified
name as its name, and belongs to the thread group
referred to by group.
Thread object so that it has
target as its run object, has the specified
name as its name, belongs to the thread group referred to
by group, and has the specified stack size.
ExecutorService that executes each submitted task using
one of possibly several pooled threads.interrupted.
interrupted.
interrupted.
interrupted.
interrupted.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||