public final class GridCacheLockState extends VolatileAtomicDataStructureValue implements Cloneable
| Constructor and Description |
|---|
GridCacheLockState()
Empty constructor required for
Externalizable. |
GridCacheLockState(int cnt,
UUID id,
long threadID,
boolean failoverSafe,
boolean fair,
long gridStartTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
condtionCount() |
int |
get() |
Map<String,LinkedList<UUID>> |
getConditionMap() |
UUID |
getId() |
LinkedList<UUID> |
getNodes() |
Map<UUID,LinkedList<String>> |
getSignals() |
long |
getThreadId() |
long |
gridStartTime() |
boolean |
isChanged() |
boolean |
isFailoverSafe() |
boolean |
isFair() |
void |
readExternal(ObjectInput in) |
void |
set(int cnt) |
void |
setChanged(boolean changed) |
void |
setConditionMap(Map<String,LinkedList<UUID>> conditionMap) |
void |
setId(UUID id) |
void |
setNodes(LinkedList<UUID> nodes) |
void |
setSignals(Map<UUID,LinkedList<String>> signals) |
void |
setThreadId(long threadId) |
String |
toString() |
DataStructureType |
type() |
void |
writeExternal(ObjectOutput out) |
public GridCacheLockState(int cnt,
UUID id,
long threadID,
boolean failoverSafe,
boolean fair,
long gridStartTime)
cnt - Initial count.id - UUID of owning node.threadID - ID of the current thread.failoverSafe - true if created in failoverSafe mode.fair - true if created in fair mode.gridStartTime - Cluster start time.public GridCacheLockState()
Externalizable.public DataStructureType type()
type in class AtomicDataStructureValuepublic long gridStartTime()
gridStartTime in class VolatileAtomicDataStructureValuepublic void set(int cnt)
cnt - New count.public int get()
public long getThreadId()
public void setThreadId(long threadId)
threadId - New thread owner ID.public UUID getId()
public void setId(UUID id)
id - New owner node ID.public boolean isFailoverSafe()
public int condtionCount()
public Map<String,LinkedList<UUID>> getConditionMap()
public void setConditionMap(Map<String,LinkedList<UUID>> conditionMap)
conditionMap - Condition map.public Map<UUID,LinkedList<String>> getSignals()
public void setSignals(Map<UUID,LinkedList<String>> signals)
signals - Signals.public LinkedList<UUID> getNodes()
public void setNodes(LinkedList<UUID> nodes)
nodes - Nodes.public boolean isFair()
public boolean isChanged()
public void setChanged(boolean changed)
changed - Changed flag.public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020