public class LeaseMapProxy extends Object implements LeaseMap, Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAll()
Cancels all leases in the LeaseMap.
|
boolean |
canContainKey(Object obj)
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 |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
void |
renewAll()
Renews all leases in the LeaseMap, using their current values as the renewal durations.
|
int |
size() |
Collection |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean canContainKey(Object obj)
LeaseMapcanContainKey in interface LeaseMapobj - an object that should be a leaseLease.canBatch(net.jini.core.lease.Lease)public void cancelAll()
throws LeaseMapException,
RemoteException
LeaseMapcancelAll in interface LeaseMapLeaseMapExceptionRemoteExceptionpublic void renewAll()
throws LeaseMapException,
RemoteException
LeaseMaprenewAll in interface LeaseMapLeaseMapExceptionRemoteExceptionpublic boolean containsKey(Object o)
containsKey in interface Mappublic boolean containsValue(Object o)
containsValue in interface Mappublic boolean equals(Object o)
public int hashCode()
public Collection values()
Copyright © GigaSpaces.