public class SpaceNotifyLease extends SpaceLease
_expirationTime, _routingValue, _serialFormat, _spaceProxy, _typeName, _uid| Constructor and Description |
|---|
SpaceNotifyLease(IDirectSpaceProxy spaceProxy,
String typeName,
String uid,
Object routingValue,
long expiration,
ManagedRemoteEventListener listener,
GSEventRegistration reg) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Used by the lease holder to indicate that it is no longer interested in the resource or
information held by the lease.
|
EventRegistration |
getEventRegistration() |
protected int |
getLeaseObjectType() |
canBatch, canBatch, createLeaseMap, getExpiration, getSerialFormat, getTypeName, getUID, renew, setSerialFormat, toString, toTextpublic SpaceNotifyLease(IDirectSpaceProxy spaceProxy, String typeName, String uid, Object routingValue, long expiration, ManagedRemoteEventListener listener, GSEventRegistration reg) throws RemoteException
RemoteExceptionprotected int getLeaseObjectType()
getLeaseObjectType in class SpaceLeasepublic void cancel()
throws UnknownLeaseException,
RemoteException
Leasecancel in interface Leasecancel in class SpaceLeaseUnknownLeaseException - the lease being cancelled is unknown to the lease grantorRemoteExceptionpublic EventRegistration getEventRegistration()
Copyright © GigaSpaces.