Class CoherenceRegionValue.SoftLock
- java.lang.Object
-
- com.oracle.coherence.hibernate.cache.v53.region.CoherenceRegionValue.SoftLock
-
- All Implemented Interfaces:
Serializable
,org.hibernate.cache.spi.access.SoftLock
- Enclosing class:
- CoherenceRegionValue
public static class CoherenceRegionValue.SoftLock extends Object implements Serializable, org.hibernate.cache.spi.access.SoftLock
A CoherenceRegion.CoherenceRegionValue.SoftLock is an object representing a "soft lock" on an entry in second-level cache.- Author:
- Randy Stafford
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object someObject)
long
getExpirationTime()
Returns this SoftLock's expiration time.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SoftLock
public SoftLock(UUID acquirerId, long sequenceNumber, long expirationTime)
Complete constructor.- Parameters:
acquirerId
- a unique identifier of the component that acquired this SoftLocksequenceNumber
- the sequenceNumber of this SoftLock with respect to its acquirerexpirationTime
- the time at which this SoftLock expires
-
-