public interface LeaseMap extends Map
| Modifier and Type | Method and Description | 
|---|---|
void | 
cancelAll()
Cancels all leases in the LeaseMap. 
 | 
boolean | 
canContainKey(Object key)
Returns true if the given object is a Lease which can be renewed
 and cancelled in a batch with other leases in the map. 
 | 
void | 
renewAll()
Renews all leases in the LeaseMap, using their current values as
 the renewal durations. 
 | 
boolean canContainKey(Object key)
key - an object that should be a leaseLease.canBatch(net.jini.core.lease.Lease)void renewAll()
              throws LeaseMapException,
                     RemoteException
LeaseMapExceptionRemoteExceptionvoid cancelAll()
               throws LeaseMapException,
                      RemoteException
LeaseMapExceptionRemoteException