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

    Modifier and Type
    Method
    Description
    void
    cancel(Uuid cookie)
    Called by a LeaseExpirationMgr when it needs to expire a resource.
  • Method Details

    • 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