public class LandlordLeaseMap extends AbstractLeaseMap
LeaseMap for LandlordLease.LandlordLease,
LeaseMapmap| 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.
|
checkKey, checkValue, clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuesclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean canContainKey(Object key)
LeaseMapkey - an object that should be a leaseLease.canBatch(net.jini.core.lease.Lease)public void cancelAll()
throws LeaseMapException,
RemoteException
LeaseMapLeaseMapExceptionRemoteExceptionpublic void renewAll()
throws LeaseMapException,
RemoteException
LeaseMapLeaseMapExceptionRemoteExceptionCopyright © GigaSpaces.