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()
ReentrantLockReentrantLock instanceReadWriteLock newReadWriteLock()
ReadWriteLockReadWriteLock instance