Package org.infinispan.lock.impl.entries
Class ClusteredLockValue
- java.lang.Object
-
- org.infinispan.lock.impl.entries.ClusteredLockValue
-
public class ClusteredLockValue extends Object
Lock object inside the cache. Holds the lock owner, the lock request id and the status of the lock.- Since:
- 9.2
- Author:
- Katia Aresti, karesti@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.marshall.AdvancedExternalizer<ClusteredLockValue>EXTERNALIZERstatic ClusteredLockValueINITIAL_STATE
-
Constructor Summary
Constructors Constructor Description ClusteredLockValue(String requestId, Object owner, ClusteredLockState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ObjectgetOwner()StringgetRequestId()ClusteredLockStategetState()inthashCode()StringtoString()
-
-
-
Field Detail
-
INITIAL_STATE
public static final ClusteredLockValue INITIAL_STATE
-
EXTERNALIZER
public static final org.infinispan.commons.marshall.AdvancedExternalizer<ClusteredLockValue> EXTERNALIZER
-
-
Constructor Detail
-
ClusteredLockValue
public ClusteredLockValue(String requestId, Object owner, ClusteredLockState state)
-
-
Method Detail
-
getState
public ClusteredLockState getState()
-
getRequestId
public String getRequestId()
-
getOwner
public Object getOwner()
-
-