public static interface LeaseExpirationMgr.Expirer
com.sun.jini.landlord.Landlord.cancel() method less
the RemoteException
in the throws clause. Mixing
this interface into a Landlord
implementation
allows the LeaseExpirationMgr
to cancel leases
without having to deal with RemoteException
.
Modifier and Type | Method and Description |
---|---|
void |
cancel(Uuid cookie)
Called by a LeaseExpirationMgr when it needs to expire a
resource.
|
void cancel(Uuid cookie) throws UnknownLeaseException
cookie
parameter is
obtained from getCookie()
method of the
LeasedResource
being expired.UnknownLeaseException
Copyright © GigaSpaces.