public class ReentrantLockView extends Object
IgniteLock representation for a SystemView.| Modifier and Type | Field and Description |
|---|---|
protected T |
ds
Data structure instance.
|
| Constructor and Description |
|---|
ReentrantLockView(org.apache.ignite.internal.processors.datastructures.GridCacheRemovable ds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
broken() |
boolean |
failoverSafe() |
boolean |
fair() |
int |
groupId() |
String |
groupName() |
boolean |
hasQueuedThreads() |
boolean |
locked() |
String |
name() |
boolean |
removed() |
protected final T extends org.apache.ignite.internal.processors.datastructures.AtomicDataStructureProxy ds
public ReentrantLockView(org.apache.ignite.internal.processors.datastructures.GridCacheRemovable ds)
ds - Data structure instance.public boolean locked()
True if locked.IgniteLock.isLocked()public boolean hasQueuedThreads()
True if there may be other threads waiting to acquire the lock.IgniteLock.hasQueuedThreads()public boolean failoverSafe()
True if this semaphore is failover safe.IgniteLock.isFailoverSafe()public boolean fair()
True if this lock is fair.IgniteLock.isFair()public boolean broken()
True if a node failed on this semaphore and failoverSafe() flag was set to false, false otherwise.IgniteLock.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