Uses of Class
de.aristaflow.adept2.util.locking.ReentrantLock.Lock
-
Packages that use ReentrantLock.Lock Package Description de.aristaflow.adept2.util.locking -
-
Uses of ReentrantLock.Lock in de.aristaflow.adept2.util.locking
Subclasses of ReentrantLock.Lock in de.aristaflow.adept2.util.locking Modifier and Type Class Description protected class
ReentrantLock.ReadLock
Represents a read lock which allows multiple objects to hold the lock simultaneously and multiple times but blocks as soon as one object wants a write lock.protected class
ReentrantLock.WriteLock
Represents a write lock which allows an object to hold the lock multiple times. an object requesting a write lock blocks objects that request a read lock.Fields in de.aristaflow.adept2.util.locking declared as ReentrantLock.Lock Modifier and Type Field Description protected ReentrantLock.Lock
ReentrantLock. readLock
The lock responsible for synchronising read access.protected ReentrantLock.Lock
ReentrantLock. writeLock
The lock responsible for synchronising write access.Methods in de.aristaflow.adept2.util.locking that return ReentrantLock.Lock Modifier and Type Method Description ReentrantLock.Lock
ReentrantLock. readLock()
Returns the read-lock for this read/write-lock or the exclusive lock in case of an exclusive lock.ReentrantLock.Lock
ReentrantLock. writeLock()
Returns the write-lock for this read/write-lock or the exclusive lock in case of an exclusive lock.
-