| Interface | Description |
|---|---|
| ReadWriteLock |
ReadWriteLocks maintain a pair of associated locks.
|
| Sync |
Main interface for locks, gates, and conditions.
|
| Class | Description |
|---|---|
| ReentrantLock |
A lock with the same semantics as builtin
Java synchronized locks: Once a thread has a lock, it
can re-obtain it any number of times without blocking.
|
| ReentrantReadWriteLock |
A writer-preference ReadWriteLock that allows both readers and
writers to reacquire
read or write locks in the style of a ReentrantLock.
|
| WriterPreferenceReadWriteLock |
A ReadWriteLock that prefers waiting writers over
waiting readers when there is contention.
|
Copyright © 2005 - 2009 Javolution.