public interface Locks
Modifier and Type | Method and Description |
---|---|
ReadWriteLock |
newReadWriteLock()
Returns the platform's implementation of
ReadWriteLock |
ReentrantLock |
newReentrantLock()
Returns the platform's implementation of
ReentrantLock |
ReentrantLock newReentrantLock()
ReentrantLock
ReentrantLock
instanceReadWriteLock newReadWriteLock()
ReadWriteLock
ReadWriteLock
instance