org.castor.util.concurrent |
Concurrent package
This package contains classes taken from EDU.oswego.cs.dl.util.concurrent
library Version 1.3.4.
- Author:
- Doug Lea
|
Java Source File Name | Type | Comment |
ConcurrentHashMap.java | Class | A version of Hashtable supporting concurrency for both retrievals and
updates:
- Retrievals
- Retrievals may overlap updates.
|
ReaderPreferenceReadWriteLock.java | Class | A ReadWriteLock that prefers waiting readers over waiting writers when there
is contention. |
ReadWriteLock.java | Interface | ReadWriteLocks maintain a pair of associated locks. |
ReentrantWriterPreferenceReadWriteLock.java | Class | A writer-preference ReadWriteLock that allows both readers and writers to
reacquire read or write locks in the style of a ReentrantLock. |
Sync.java | Interface | Main interface for locks, gates, and conditions.
Sync objects isolate waiting and notification for particular logical states,
resource availability, events, and the like that are shared across multiple
threads. |
WriterPreferenceReadWriteLock.java | Class | A ReadWriteLock that prefers waiting writers over waiting readers when there
is contention. |