K - key typeV - value typepublic class ClientReplicatedMapProxy<K,V> extends ClientProxy implements ReplicatedMap<K,V>
| Constructor and Description |
|---|
ClientReplicatedMapProxy(String serviceName,
String objectName) |
| Modifier and Type | Method and Description |
|---|---|
String |
addEntryListener(EntryListener<K,V> listener) |
String |
addEntryListener(EntryListener<K,V> listener,
K key) |
String |
addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate) |
String |
addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
K key) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
protected void |
onDestroy()
Called before proxy is destroyed.
|
V |
put(K key,
V value) |
V |
put(K key,
V value,
long ttl,
TimeUnit timeUnit) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
boolean |
removeEntryListener(String id) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
Collection<V> |
values(Comparator<V> comparator) |
destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invoke, invokeInterruptibly, invokeOnPartition, listen, listen, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObjectclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getId, getName, getPartitionKey, getServiceNameprotected void onDestroy()
ClientProxyonDestroy in class ClientProxypublic V put(K key, V value, long ttl, TimeUnit timeUnit)
put in interface ReplicatedMap<K,V>public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>public void clear()
public boolean removeEntryListener(String id)
removeEntryListener in interface ReplicatedMap<K,V>public String addEntryListener(EntryListener<K,V> listener)
addEntryListener in interface ReplicatedMap<K,V>public String addEntryListener(EntryListener<K,V> listener, K key)
addEntryListener in interface ReplicatedMap<K,V>public String addEntryListener(EntryListener<K,V> listener, Predicate<K,V> predicate)
addEntryListener in interface ReplicatedMap<K,V>public String addEntryListener(EntryListener<K,V> listener, Predicate<K,V> predicate, K key)
addEntryListener in interface ReplicatedMap<K,V>public Collection<V> values()
public Collection<V> values(Comparator<V> comparator)
values in interface ReplicatedMap<K,V>Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.