public final class ConstrainableLandlordLeaseMap extends LandlordLeaseMap
LandlordLeaseMap
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
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.
|
cancelAll, renewAll
containsKey, containsValue, entrySet, get, put, remove
clear, clone, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
public boolean canContainKey(Object key)
LeaseMap
canContainKey
in interface LeaseMap
canContainKey
in class LandlordLeaseMap
key
- an object that should be a leaseLease.canBatch(net.jini.core.lease.Lease)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.