Package com.intellij.util.concurrency
-
Interface Summary Interface Description JBLock JBReentrantReadWriteLock ReadWriteLock ReadWriteLocks maintain a pair of associated locks.Sync Main interface for locks, gates, and conditions.Sync2 -
Class Summary Class Description DefaultLockAdapter DefaultReentrantReadWriteLockAdapter LockFactory Mutex A simple non-reentrant mutual exclusion lock.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.ReentrantLock2 ReentrantWriterPreferenceReadWriteLock A writer-preference ReadWriteLock that allows both readers and writers to reacquire read or write locks in the style of a ReentrantLock.Semaphore SyncAdapterLock SynchronizedBasedReentrantReadWriteLock WriterPreferenceReadWriteLock A ReadWriteLock that prefers waiting writers over waiting readers when there is contention.WriterPreferenceReadWriteLock.Signaller Reader and Writer requests are maintained in two different wait sets, by two different objects.