Methods inherited from class com.sun.jini.lease.
AbstractLeaseMap checkKey, checkValue, clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from interface java.util.
Map compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean canContainKey(
Description copied from interface: LeaseMap
Returns true if the given object is a Lease which can be renewed and cancelled in a batch
with other leases in the map. Whether or not two Lease objects can be batched is an
implementation detail determined by the objects.
key - an object that should be a lease
Returns: true if the lease can be renewed and cancelled in a a batch with other leases
Copyright © GigaSpaces.