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:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SoftLock
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
-
-
Method Details
-
getExpirationTime
public long getExpirationTime()Returns this SoftLock's expiration time.- Returns:
- the long that is this SoftLock's expiration time
-
equals
-
hashCode
public int hashCode() -
toString
-