public class LandlordLeaseMap extends AbstractIDLeaseMap
LeaseMap for LandlordLease.LandlordLease,
LeaseMapAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
containsKey, containsValue, entrySet, get, put, removeclear, clone, equals, hashCode, isEmpty, keySet, putAll, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, valuespublic 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 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.