static interface LeaseExpirationMgr.Expirer
org.apache.river.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 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.