public interface AwareLock extends Lock
Lock
interface to make awareness of the current thread's state accessible.
NModifier and Type | Method and Description |
---|---|
boolean |
isHeldByCurrentThread()
Query whether the current thread holds this lock.
|
lock, lockInterruptibly, newCondition, tryLock, tryLock, unlock