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, toText
public SpaceNotifyLease(IDirectSpaceProxy spaceProxy, String typeName, String uid, Object routingValue, long expiration, ManagedRemoteEventListener listener, GSEventRegistration reg) throws RemoteException
RemoteException
protected int getLeaseObjectType()
getLeaseObjectType
in class SpaceLease
public void cancel() throws UnknownLeaseException, RemoteException
Lease
cancel
in interface Lease
cancel
in class SpaceLease
UnknownLeaseException
- the lease being cancelled is unknown to the lease grantorRemoteException
public EventRegistration getEventRegistration()
Copyright © GigaSpaces.