Package org.castor.core.util.concurrent
This package contains classes taken from EDU.oswego.cs.dl.util.concurrent library Version 1.3.4.
- Author:
- Doug Lea
-
Interface Summary Interface Description ReadWriteLock ReadWriteLocks maintain a pair of associated locks.Sync Main interface for locks, gates, and conditions. -
Class Summary Class Description ReaderPreferenceReadWriteLock A ReadWriteLock that prefers waiting readers over waiting writers when there is contention.ReentrantWriterPreferenceReadWriteLock 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.