Package com.sun.jini.mahalo
Interface LeaseExpirationMgr.Expirer
- All Known Implementing Classes:
TransientMahaloImpl,TxnManagerImpl
- Enclosing class:
- LeaseExpirationMgr
public 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
-
Method Details
-
cancel
Called by a LeaseExpirationMgr when it needs to expire a resource. The value of thecookieparameter is obtained fromgetCookie()method of theLeasedResourcebeing expired.- Throws:
UnknownLeaseException
-