public class SpaceEntryLease<T> extends SpaceLease implements LeaseContext<T>
_expirationTime, _routingValue, _serialFormat, _spaceProxy, _typeName, _uid
Constructor and Description |
---|
SpaceEntryLease(IDirectSpaceProxy spaceProxy,
String typeName,
String uid,
int version,
Object routingValue,
long expiration,
T prevEntry) |
Modifier and Type | Method and Description |
---|---|
protected int |
getLeaseObjectType() |
T |
getObject()
returns the previous value associated with this update-or-write operation.
|
int |
getVersion()
Returns the version of written \ updated entry.
|
void |
setObject(T object) |
canBatch, canBatch, cancel, createLeaseMap, getExpiration, getSerialFormat, getTypeName, getUID, renew, setSerialFormat, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUID
canBatch, cancel, createLeaseMap, getExpiration, getSerialFormat, renew, setSerialFormat
public SpaceEntryLease(IDirectSpaceProxy spaceProxy, String typeName, String uid, int version, Object routingValue, long expiration, T prevEntry)
protected int getLeaseObjectType()
getLeaseObjectType
in class SpaceLease
public int getVersion()
LeaseContext
getVersion
in interface LeaseContext<T>
public T getObject()
LeaseContext
WriteModifiers.RETURN_PREV_ON_UPDATE
is used, otherwise null)getObject
in interface LeaseContext<T>
public void setObject(T object)
Copyright © GigaSpaces.