GigaSpaces XAP 10.0.1 API

com.sun.jini.mahalo
Interface LeaseExpirationMgr.Expirer

All Known Implementing Classes:
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
 void cancel(Uuid cookie)
          Called by a LeaseExpirationMgr when it needs to expire a resource.
 

Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.