org.apache.beehive.netui.util.internal.concurrent |
|
Java Source File Name | Type | Comment |
Condition.java | Interface | Condition factors out the Object monitor
methods (
Object.wait wait ,
Object.notify notify and
Object.notifyAll 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.
Where a Lock replaces the use of synchronized methods
and statements, a Condition replaces the use of the Object
monitor methods.
Conditions (also known as condition queues or
condition variables) provide a means for one thread to
suspend execution (to "wait") until notified by another
thread that some state condition may now be true. |
CondVar.java | Class | |
FIFOWaitQueue.java | Class | Simple linked list queue used in FIFOSemaphore. |
InternalConcurrentHashMap.java | Class | A hash table supporting full concurrency of retrievals and
adjustable expected concurrency for updates. |
Lock.java | Interface | Lock implementations provide more extensive locking
operations than can be obtained using synchronized methods
and statements. |
NanoTimer.java | Interface | Interface to specify custom implementation of precise timer. |
ReentrantLock.java | Class | A reentrant mutual exclusion
Lock with the same basic
behavior and semantics as the implicit monitor lock accessed using
synchronized methods and statements, but with extended
capabilities.
A ReentrantLock is owned by the thread last
successfully locking, but not yet unlocking it. |
TimeUnit.java | Class | A TimeUnit represents time durations at a given unit of
granularity and provides utility methods to convert across units,
and to perform timing and delay operations in these units. |
Utils.java | Class |
This class groups together the functionality of java.util.concurrent that
cannot be fully and reliably implemented in backport, but for which some
form of emulation is possible.
Currently, this class contains methods related to nanosecond-precision
timing, particularly via the
Utils.nanoTime method. |
WaitQueue.java | Class | Base class for internal queue classes for semaphores, etc. |