public class TracingMultiMap<K,V> extends Object implements com.hazelcast.core.MultiMap<K,V>
| Constructor and Description |
|---|
TracingMultiMap(com.hazelcast.core.MultiMap<K,V> map,
boolean traceWithActiveSpanOnly) |
| Modifier and Type | Method and Description |
|---|---|
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
K key,
boolean includeValue) |
String |
addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener) |
<SuppliedValue,Result> |
aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier,
com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation)
Deprecated.
|
<SuppliedValue,Result> |
aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier,
com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation,
com.hazelcast.mapreduce.JobTracker jobTracker)
Deprecated.
|
void |
clear() |
boolean |
containsEntry(K key,
V value) |
boolean |
containsKey(K key) |
boolean |
containsValue(Object value) |
void |
delete(Object key) |
void |
destroy() |
Set<Map.Entry<K,V>> |
entrySet() |
void |
forceUnlock(K key) |
Collection<V> |
get(K key) |
com.hazelcast.monitor.LocalMultiMapStats |
getLocalMultiMapStats() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
isLocked(K key) |
Set<K> |
keySet() |
Set<K> |
localKeySet() |
void |
lock(K key) |
void |
lock(K key,
long leaseTime,
TimeUnit timeUnit) |
boolean |
put(K key,
V value) |
Collection<V> |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
boolean |
removeEntryListener(String registrationId) |
int |
size() |
boolean |
tryLock(K key) |
boolean |
tryLock(K key,
long time,
TimeUnit timeUnit) |
boolean |
tryLock(K key,
long time,
TimeUnit timeUnit,
long leaseTime,
TimeUnit leaseTimeUnit) |
void |
unlock(K key) |
int |
valueCount(K key) |
Collection<V> |
values() |
public String getName()
getName in interface com.hazelcast.core.DistributedObjectpublic Collection<V> get(K key)
public Collection<V> remove(Object key)
public void delete(Object key)
public Collection<V> values()
public boolean containsKey(K key)
public boolean containsValue(Object value)
public int size()
public int valueCount(K key)
public String addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener)
public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, boolean includeValue)
public boolean removeEntryListener(String registrationId)
public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, K key, boolean includeValue)
public boolean isLocked(K key)
public boolean tryLock(K key)
public boolean tryLock(K key, long time, TimeUnit timeUnit) throws InterruptedException
tryLock in interface com.hazelcast.core.MultiMap<K,V>InterruptedExceptionpublic boolean tryLock(K key, long time, TimeUnit timeUnit, long leaseTime, TimeUnit leaseTimeUnit) throws InterruptedException
tryLock in interface com.hazelcast.core.MultiMap<K,V>InterruptedExceptionpublic void forceUnlock(K key)
public com.hazelcast.monitor.LocalMultiMapStats getLocalMultiMapStats()
@Deprecated public <SuppliedValue,Result> Result aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier, com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation)
@Deprecated public <SuppliedValue,Result> Result aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier, com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation, com.hazelcast.mapreduce.JobTracker jobTracker)
public String getPartitionKey()
getPartitionKey in interface com.hazelcast.core.DistributedObjectpublic String getServiceName()
getServiceName in interface com.hazelcast.core.DistributedObjectpublic void destroy()
destroy in interface com.hazelcast.core.DistributedObjectCopyright © 2018-2019–2019. All rights reserved.