K - key typeV - value typepublic class ClientReplicatedMapProxy<K,V> extends ClientProxy implements ReplicatedMap<K,V>
name| Constructor and Description |
|---|
ClientReplicatedMapProxy(String serviceName,
String objectName,
ClientContext context) |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, preDestroy, registerListener, setContext, toData, toObjectclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAlldestroy, getName, getPartitionKey, getServiceNamepublic ClientReplicatedMapProxy(String serviceName, String objectName, ClientContext context)
protected void onInitialize()
ClientProxyonInitialize in class ClientProxyprotected void postDestroy()
ClientProxypostDestroy 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 registrationId)
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 LocalReplicatedMapStats getReplicatedMapStats()
getReplicatedMapStats in interface ReplicatedMap<K,V>public Collection<V> values()
public Collection<V> values(Comparator<V> comparator)
values in interface ReplicatedMap<K,V>public String addNearCacheInvalidationListener(EventHandler handler)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.