public class ReplicatedIMap<K,V> extends IMapProxy<K,V> implements Serializable
| Constructor and Description |
|---|
ReplicatedIMap(com.hazelcast.core.IMap<K,V> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
boolean includeValue) |
void |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
K key,
boolean includeValue) |
void |
addIndex(com.hazelcast.query.Expression<?> arg0,
boolean arg1) |
void |
addIndex(String attribute,
boolean ordered) |
void |
addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> arg0) |
Set<Map.Entry<K,V>> |
entrySet() |
Set<Map.Entry<K,V>> |
entrySet(com.hazelcast.query.Predicate predicate) |
boolean |
evict(Object key) |
void |
flush() |
V |
get(Object key) |
Map<K,V> |
getAll(Set<K> arg0) |
Future<V> |
getAsync(K key) |
protected com.hazelcast.core.IMap<K,V> |
getDelegate() |
com.hazelcast.monitor.LocalMapStats |
getLocalMapStats() |
Set<K> |
keySet() |
Set<K> |
keySet(com.hazelcast.query.Predicate predicate) |
Set<K> |
localKeySet() |
Set<K> |
localKeySet(com.hazelcast.query.Predicate predicate) |
boolean |
lockMap(long time,
TimeUnit timeunit) |
V |
put(K key,
V value,
long ttl,
TimeUnit timeunit) |
void |
putAndUnlock(K arg0,
V arg1) |
Future<V> |
putAsync(K key,
V value) |
V |
putIfAbsent(K key,
V value) |
V |
putIfAbsent(K key,
V value,
long ttl,
TimeUnit timeunit) |
void |
putTransient(K arg0,
V arg1,
long arg2,
TimeUnit arg3) |
Future<V> |
removeAsync(K arg0) |
void |
removeEntryListener(com.hazelcast.core.EntryListener<K,V> listener) |
void |
removeEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
K key) |
String |
toString() |
V |
tryLockAndGet(K arg0,
long arg1,
TimeUnit arg2) |
boolean |
tryPut(K key,
V value,
long timeout,
TimeUnit timeunit) |
Object |
tryRemove(K arg0,
long arg1,
TimeUnit arg2) |
void |
unlockMap() |
Collection<V> |
values() |
Collection<V> |
values(com.hazelcast.query.Predicate predicate) |
destroy, getId, getInstanceType, getMapEntry, getName, lock, tryLock, tryLock, unlockremove, replace, replaceclear, containsKey, containsValue, isEmpty, put, putAll, remove, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, remove, replace, replace, replaceAllpublic void addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, boolean includeValue)
public void addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, K key, boolean includeValue)
public void removeEntryListener(com.hazelcast.core.EntryListener<K,V> listener, K key)
public V putIfAbsent(K key, V value)
putIfAbsent in interface ConcurrentMap<K,V>putIfAbsent in interface Map<K,V>putIfAbsent in class ConcurrentMapProxy<K,V>protected com.hazelcast.core.IMap<K,V> getDelegate()
getDelegate in class IMapProxy<K,V>public Collection<V> values()
public void addIndex(String attribute, boolean ordered)
public boolean evict(Object key)
public com.hazelcast.monitor.LocalMapStats getLocalMapStats()
public boolean lockMap(long time,
TimeUnit timeunit)
public Collection<V> values(com.hazelcast.query.Predicate predicate)
public void addIndex(com.hazelcast.query.Expression<?> arg0,
boolean arg1)
public V tryLockAndGet(K arg0, long arg1, TimeUnit arg2) throws TimeoutException
tryLockAndGet in interface com.hazelcast.core.IMap<K,V>TimeoutExceptionpublic Object tryRemove(K arg0, long arg1, TimeUnit arg2) throws TimeoutException
tryRemove in interface com.hazelcast.core.IMap<K,V>TimeoutExceptionCopyright © 2014–2016. All rights reserved.