- org.codehaus.groovy.util.LockableObject
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
protected final boolean |
isHeldExclusively()
|
|
public final void |
lock()
|
|
protected final boolean |
tryAcquire(int acquires)
|
|
protected final boolean |
tryRelease(int releases)
|
|
public final void |
unlock()
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractQueuedSynchronizer |
toString, release, hasQueuedThreads, isQueued, getQueueLength, getQueuedThreads, hasWaiters, getWaitQueueLength, getWaitingThreads, acquire, acquireInterruptibly, tryAcquireNanos, getFirstQueuedThread, owns, acquireShared, acquireSharedInterruptibly, tryAcquireSharedNanos, releaseShared, hasContended, hasQueuedPredecessors, getExclusiveQueuedThreads, getSharedQueuedThreads, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
-
-
Method Detail
-
protected final boolean isHeldExclusively()
-
protected final boolean tryAcquire(int acquires)
-
protected final boolean tryRelease(int releases)
-
public final void unlock()
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.