- <init>
- acquireShared
- acquireSharedInterruptibly
- compareAndSetGlobalState
This method is used for synchronizing the semaphore state across all nodes.
- drainPermits
This method is used internally to implement
GridCacheSemaphoreImpl#drainPermits().
- getPermitsForNode
Get number of permits for node.
- getSharedQueuedThreads
- getState
- getWaiters
Gets the number of nodes waiting at this semaphore.
- isBroken
Set a flag indicating that it is not safe to continue using this semaphore. This
is the case only if
- nonfairTryAcquireShared
This method is used by the AQS to test if the current thread should block or
not.
- releaseFailedNode
This method is used for releasing the permits acquired by failing node. In case
the semaphore is bro