public class SemaphoreView extends Object
IgniteSemaphore representation for a SystemView.| Modifier and Type | Field and Description |
|---|---|
protected T |
ds
Data structure instance.
|
| Constructor and Description |
|---|
SemaphoreView(org.apache.ignite.internal.processors.datastructures.GridCacheRemovable ds) |
| Modifier and Type | Method and Description |
|---|---|
long |
availablePermits() |
boolean |
broken() |
boolean |
failoverSafe() |
int |
groupId() |
String |
groupName() |
boolean |
hasQueuedThreads() |
String |
name() |
int |
queueLength() |
boolean |
removed() |
protected final T extends org.apache.ignite.internal.processors.datastructures.AtomicDataStructureProxy ds
public SemaphoreView(org.apache.ignite.internal.processors.datastructures.GridCacheRemovable ds)
ds - Data structure instance.public long availablePermits()
IgniteSemaphore.availablePermits()public boolean hasQueuedThreads()
True if there may be other threads waiting to acquire the lock.IgniteSemaphore.hasQueuedThreads()public int queueLength()
IgniteSemaphore.getQueueLength()public boolean failoverSafe()
True if this semaphore is failover safe.IgniteSemaphore.isFailoverSafe()public boolean broken()
True if a node failed on this semaphore and failoverSafe() flag was set to false, false otherwise.IgniteSemaphore.isBroken()public String name()
public String groupName()
public int groupId()
public boolean removed()
True is data structure removed.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025