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