interface ExplicitLockingContext
Modifier and Type | Method and Description |
---|---|
boolean |
areAnyExplicitLocksAcquired()
Returns true if the current thread has acquired any locks previously and not released yet
|
boolean |
areLocksAcquiredByOtherThreads(long currentNonstopThreadUniqueId)
Returns true if some other thread than the thread whose unique id is passed in the parameter has acquired any locks previously and
not released yet
|
void |
lockAcquired(long currentNonstopThreadUniqueId)
Mark a lock acquire
|
void |
lockReleased()
Mark a lock release
|
boolean areAnyExplicitLocksAcquired()
void lockAcquired(long currentNonstopThreadUniqueId)
currentNonstopThreadUniqueId
- void lockReleased()
boolean areLocksAcquiredByOtherThreads(long currentNonstopThreadUniqueId)
currentNonstopThreadUniqueId
-