public class TracingMap<K,V> extends Object implements com.hazelcast.core.IMap<K,V>
| Constructor and Description |
|---|
TracingMap(com.hazelcast.core.IMap<K,V> map,
boolean traceWithActiveSpanOnly) |
| Modifier and Type | Method and Description |
|---|---|
String |
addEntryListener(com.hazelcast.core.EntryListener listener,
boolean includeValue)
Deprecated.
|
String |
addEntryListener(com.hazelcast.core.EntryListener listener,
K key,
boolean includeValue)
Deprecated.
|
String |
addEntryListener(com.hazelcast.core.EntryListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue)
Deprecated.
|
String |
addEntryListener(com.hazelcast.core.EntryListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue)
Deprecated.
|
String |
addEntryListener(com.hazelcast.map.listener.MapListener listener,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.map.listener.MapListener listener,
K key,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.map.listener.MapListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.map.listener.MapListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue) |
void |
addIndex(String attribute,
boolean ordered) |
String |
addInterceptor(com.hazelcast.map.MapInterceptor interceptor) |
String |
addLocalEntryListener(com.hazelcast.core.EntryListener listener)
Deprecated.
|
String |
addLocalEntryListener(com.hazelcast.core.EntryListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue)
Deprecated.
|
String |
addLocalEntryListener(com.hazelcast.core.EntryListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue)
Deprecated.
|
String |
addLocalEntryListener(com.hazelcast.map.listener.MapListener listener) |
String |
addLocalEntryListener(com.hazelcast.map.listener.MapListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue) |
String |
addLocalEntryListener(com.hazelcast.map.listener.MapListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue) |
String |
addPartitionLostListener(com.hazelcast.map.listener.MapPartitionLostListener listener) |
<R> R |
aggregate(com.hazelcast.aggregation.Aggregator<Map.Entry<K,V>,R> aggregator) |
<R> R |
aggregate(com.hazelcast.aggregation.Aggregator<Map.Entry<K,V>,R> aggregator,
com.hazelcast.query.Predicate<K,V> predicate) |
<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() |
V |
compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction) |
V |
computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction) |
V |
computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
delete(Object key) |
void |
destroy() |
Set<Map.Entry<K,V>> |
entrySet() |
Set<Map.Entry<K,V>> |
entrySet(com.hazelcast.query.Predicate predicate) |
boolean |
equals(Object o) |
boolean |
evict(K key) |
void |
evictAll() |
Map<K,Object> |
executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor) |
Map<K,Object> |
executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor,
com.hazelcast.query.Predicate predicate) |
Object |
executeOnKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor) |
Map<K,Object> |
executeOnKeys(Set<K> keys,
com.hazelcast.map.EntryProcessor entryProcessor) |
void |
flush() |
void |
forceUnlock(K key) |
void |
forEach(BiConsumer<? super K,? super V> action) |
V |
get(Object key) |
Map<K,V> |
getAll(Set<K> keys) |
com.hazelcast.core.ICompletableFuture<V> |
getAsync(K key) |
com.hazelcast.core.EntryView<K,V> |
getEntryView(K key) |
com.hazelcast.monitor.LocalMapStats |
getLocalMapStats() |
String |
getName() |
V |
getOrDefault(Object key,
V defaultValue) |
String |
getPartitionKey() |
com.hazelcast.map.QueryCache<K,V> |
getQueryCache(String queryCacheName) |
com.hazelcast.map.QueryCache<K,V> |
getQueryCache(String queryCacheName,
com.hazelcast.map.listener.MapListener listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue) |
com.hazelcast.map.QueryCache<K,V> |
getQueryCache(String queryCacheName,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue) |
String |
getServiceName() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isLocked(K key) |
Set<K> |
keySet() |
Set<K> |
keySet(com.hazelcast.query.Predicate predicate) |
void |
loadAll(boolean replaceExistingValues) |
void |
loadAll(Set<K> keys,
boolean replaceExistingValues) |
Set<K> |
localKeySet() |
Set<K> |
localKeySet(com.hazelcast.query.Predicate predicate) |
void |
lock(K key) |
void |
lock(K key,
long leaseTime,
TimeUnit timeUnit) |
V |
merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction) |
<R> Collection<R> |
project(com.hazelcast.projection.Projection<Map.Entry<K,V>,R> projection) |
<R> Collection<R> |
project(com.hazelcast.projection.Projection<Map.Entry<K,V>,R> projection,
com.hazelcast.query.Predicate<K,V> predicate) |
V |
put(K key,
V value) |
V |
put(K key,
V value,
long ttl,
TimeUnit timeUnit) |
V |
put(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
void |
putAll(Map<? extends K,? extends V> m) |
com.hazelcast.core.ICompletableFuture<V> |
putAsync(K key,
V value) |
com.hazelcast.core.ICompletableFuture<V> |
putAsync(K key,
V value,
long ttl,
TimeUnit timeUnit) |
com.hazelcast.core.ICompletableFuture<V> |
putAsync(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
V |
putIfAbsent(K key,
V value) |
V |
putIfAbsent(K key,
V value,
long ttl,
TimeUnit timeUnit) |
V |
putIfAbsent(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
void |
putTransient(K key,
V value,
long ttl,
TimeUnit timeUnit) |
void |
putTransient(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
void |
removeAll(com.hazelcast.query.Predicate<K,V> predicate) |
com.hazelcast.core.ICompletableFuture<V> |
removeAsync(K key) |
boolean |
removeEntryListener(String id) |
void |
removeInterceptor(String id) |
boolean |
removePartitionLostListener(String id) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
set(K key,
V value) |
void |
set(K key,
V value,
long ttl,
TimeUnit timeUnit) |
void |
set(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
com.hazelcast.core.ICompletableFuture<Void> |
setAsync(K key,
V value) |
com.hazelcast.core.ICompletableFuture<Void> |
setAsync(K key,
V value,
long ttl,
TimeUnit timeUnit) |
com.hazelcast.core.ICompletableFuture<Void> |
setAsync(K key,
V value,
long ttl,
TimeUnit ttlUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
boolean |
setTtl(K key,
long ttl,
TimeUnit timeunit) |
int |
size() |
com.hazelcast.core.ICompletableFuture |
submitToKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor) |
void |
submitToKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor,
com.hazelcast.core.ExecutionCallback callback) |
boolean |
tryLock(K key) |
boolean |
tryLock(K key,
long time,
TimeUnit timeUnit) |
boolean |
tryLock(K key,
long time,
TimeUnit timeUnit,
long leaseTime,
TimeUnit leaseTimeUnit) |
boolean |
tryPut(K key,
V value,
long timeout,
TimeUnit timeUnit) |
boolean |
tryRemove(K key,
long timeout,
TimeUnit timeUnit) |
void |
unlock(K key) |
Collection<V> |
values() |
Collection<V> |
values(com.hazelcast.query.Predicate predicate) |
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public void delete(Object key)
public void loadAll(boolean replaceExistingValues)
public void clear()
public com.hazelcast.core.ICompletableFuture<V> putAsync(K key, V value, long ttl, TimeUnit timeUnit)
public com.hazelcast.core.ICompletableFuture<V> putAsync(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit)
public com.hazelcast.core.ICompletableFuture<Void> setAsync(K key, V value, long ttl, TimeUnit timeUnit)
public com.hazelcast.core.ICompletableFuture<Void> setAsync(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit)
public void putTransient(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit)
public V putIfAbsent(K key, V value)
putIfAbsent in interface com.hazelcast.core.BaseMap<K,V>putIfAbsent in interface com.hazelcast.core.IMap<K,V>putIfAbsent in interface ConcurrentMap<K,V>putIfAbsent in interface Map<K,V>public V putIfAbsent(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit)
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.IMap<K,V>InterruptedExceptionpublic boolean tryLock(K key, long time, TimeUnit timeUnit, long leaseTime, TimeUnit leaseTimeUnit) throws InterruptedException
tryLock in interface com.hazelcast.core.IMap<K,V>InterruptedExceptionpublic void forceUnlock(K key)
public String addLocalEntryListener(com.hazelcast.map.listener.MapListener listener)
@Deprecated public String addLocalEntryListener(com.hazelcast.core.EntryListener listener)
public String addLocalEntryListener(com.hazelcast.map.listener.MapListener listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
@Deprecated public String addLocalEntryListener(com.hazelcast.core.EntryListener listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
public String addLocalEntryListener(com.hazelcast.map.listener.MapListener listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
@Deprecated public String addLocalEntryListener(com.hazelcast.core.EntryListener listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
public String addInterceptor(com.hazelcast.map.MapInterceptor interceptor)
public void removeInterceptor(String id)
public String addEntryListener(com.hazelcast.map.listener.MapListener listener, boolean includeValue)
@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener listener, boolean includeValue)
public boolean removeEntryListener(String id)
public String addPartitionLostListener(com.hazelcast.map.listener.MapPartitionLostListener listener)
public boolean removePartitionLostListener(String id)
public String addEntryListener(com.hazelcast.map.listener.MapListener listener, K key, boolean includeValue)
@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener listener, K key, boolean includeValue)
public String addEntryListener(com.hazelcast.map.listener.MapListener listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
public String addEntryListener(com.hazelcast.map.listener.MapListener listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
public Collection<V> values()
public Collection<V> values(com.hazelcast.query.Predicate predicate)
public void addIndex(String attribute, boolean ordered)
public com.hazelcast.monitor.LocalMapStats getLocalMapStats()
public Map<K,Object> executeOnKeys(Set<K> keys, com.hazelcast.map.EntryProcessor entryProcessor)
public void submitToKey(K key, com.hazelcast.map.EntryProcessor entryProcessor, com.hazelcast.core.ExecutionCallback callback)
public com.hazelcast.core.ICompletableFuture submitToKey(K key, com.hazelcast.map.EntryProcessor entryProcessor)
public Map<K,Object> executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor)
public Map<K,Object> executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor, com.hazelcast.query.Predicate predicate)
public <R> R aggregate(com.hazelcast.aggregation.Aggregator<Map.Entry<K,V>,R> aggregator, com.hazelcast.query.Predicate<K,V> predicate)
public <R> Collection<R> project(com.hazelcast.projection.Projection<Map.Entry<K,V>,R> projection)
public <R> Collection<R> project(com.hazelcast.projection.Projection<Map.Entry<K,V>,R> projection, com.hazelcast.query.Predicate<K,V> predicate)
@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)
@Beta public com.hazelcast.map.QueryCache<K,V> getQueryCache(String queryCacheName, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
@Beta public com.hazelcast.map.QueryCache<K,V> getQueryCache(String queryCacheName, com.hazelcast.map.listener.MapListener listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
public V getOrDefault(Object key, V defaultValue)
getOrDefault in interface ConcurrentMap<K,V>getOrDefault in interface Map<K,V>public void forEach(BiConsumer<? super K,? super V> action)
public void replaceAll(BiFunction<? super K,? super V,? extends V> function)
replaceAll in interface ConcurrentMap<K,V>replaceAll in interface Map<K,V>public V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
computeIfAbsent in interface ConcurrentMap<K,V>computeIfAbsent in interface Map<K,V>public V computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
computeIfPresent in interface ConcurrentMap<K,V>computeIfPresent in interface Map<K,V>public int size()
public boolean isEmpty()
public boolean equals(Object o)
public int hashCode()
public String getPartitionKey()
getPartitionKey in interface com.hazelcast.core.DistributedObjectpublic String getName()
getName 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.