com.hazelcast.hibernate.local
Class Value
java.lang.Object
com.hazelcast.hibernate.local.Value
public class Value
- extends Object
A value wrapper with version, lock support and creationTime
Value
public Value(Object version,
Object value,
long creationTime)
Value
public Value(Object version,
Object value,
SoftLock lock,
long creationTime)
getValue
public Object getValue()
getVersion
public Object getVersion()
getLock
public SoftLock getLock()
getCreationTime
public long getCreationTime()
createLockedValue
public Value createLockedValue(SoftLock lock)
createUnlockedValue
public Value createUnlockedValue()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.