public class ThreadAwareReentrantReadWriteLock
extends java.util.concurrent.locks.ReentrantReadWriteLock
Constructor and Description |
---|
ThreadAwareReentrantReadWriteLock() |
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
getOwner() |
boolean |
isWriteLockedBy(java.lang.Thread t)
Returns true if this ReentrantReadWriteLock is write-locked by the given Thread.
|
public boolean isWriteLockedBy(java.lang.Thread t)
public java.lang.Thread getOwner()
getOwner
in class java.util.concurrent.locks.ReentrantReadWriteLock
Thread
who is the current owner of this lockCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.