com.sun.jini.mahalo
Interface LeaseExpirationMgr.Expirer
- All Known Implementing Classes:
- ActivatableMahaloImpl, NonActivatableMahaloImpl, TransientMahaloImpl, TxnManagerImpl
- Enclosing class:
- LeaseExpirationMgr
static interface LeaseExpirationMgr.Expirer
Interface that allows LeaseExpirationMgr to expire resources.
This is the same as the
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
.
Method Summary |
void |
cancel(Uuid cookie)
Called by a LeaseExpirationMgr when it needs to expire a
resource. |
cancel
void cancel(Uuid cookie)
throws UnknownLeaseException
- Called by a LeaseExpirationMgr when it needs to expire a
resource. The value of the
cookie
parameter is
obtained from getCookie()
method of the
LeasedResource
being expired.
- Throws:
UnknownLeaseException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.