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, toTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUIDcanBatch, cancel, createLeaseMap, getExpiration, getSerialFormat, renew, setSerialFormatpublic SpaceEntryLease(IDirectSpaceProxy spaceProxy, String typeName, String uid, int version, Object routingValue, long expiration, T prevEntry)
protected int getLeaseObjectType()
getLeaseObjectType in class SpaceLeasepublic int getVersion()
LeaseContextgetVersion in interface LeaseContext<T>public T getObject()
LeaseContextWriteModifiers.RETURN_PREV_ON_UPDATE is used, otherwise null)getObject in interface LeaseContext<T>public void setObject(T object)
Copyright © GigaSpaces.