Package com.j_spaces.core
Class LeaseInitializer.UpdateContextLease
java.lang.Object
com.j_spaces.core.LeaseInitializer.UIDLease
com.j_spaces.core.LeaseInitializer.UpdateContextLease
- All Implemented Interfaces:
SmartExternalizable,LeaseContext<Object>,Externalizable,Serializable,Lease
- Enclosing class:
- LeaseInitializer
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptiondefault no-args public constructor for Externalizable impl -
Method Summary
Modifier and TypeMethodDescriptionreturns the previous value associated with this update-or-write operation.voidvoidMethods inherited from class com.j_spaces.core.LeaseInitializer.UIDLease
canBatch, cancel, createLeaseMap, getExpiration, getSerialFormat, getUID, getVersion, renew, setSerialFormatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
UpdateContextLease
public UpdateContextLease()default no-args public constructor for Externalizable impl
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classLeaseInitializer.UIDLease- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classLeaseInitializer.UIDLease- Throws:
IOExceptionClassNotFoundException
-
getObject
Description copied from interface:LeaseContextreturns the previous value associated with this update-or-write operation.- null, on a successful write
- previous value, on successful update (Only if
WriteModifiers.RETURN_PREV_ON_UPDATEis used, otherwise null)- Specified by:
getObjectin interfaceLeaseContext<Object>- Overrides:
getObjectin classLeaseInitializer.UIDLease- Returns:
- the associated object.
-