public interface DataStructureAdapter<K,V>
Modifier and Type | Interface and Description |
---|---|
static class |
DataStructureAdapter.DataStructureMethods
Contains all methods of
DataStructureAdapter . |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(K key) |
void |
destroy() |
Map<K,Object> |
executeOnEntries(EntryProcessor entryProcessor) |
Map<K,Object> |
executeOnEntries(EntryProcessor entryProcessor,
Predicate predicate) |
Object |
executeOnKey(K key,
EntryProcessor entryProcessor) |
Map<K,Object> |
executeOnKeys(Set<K> keys,
EntryProcessor entryProcessor) |
V |
get(K key) |
Map<K,V> |
getAll(Set<K> keys) |
ICompletableFuture<V> |
getAsync(K key) |
LocalMapStats |
getLocalMapStats() |
<T> T |
invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... arguments) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... arguments) |
void |
loadAll(boolean replaceExistingValues) |
void |
loadAll(Set<? extends K> keys,
boolean replaceExistingValues,
javax.cache.integration.CompletionListener completionListener) |
void |
loadAll(Set<K> keys,
boolean replaceExistingValues) |
V |
put(K key,
V value) |
void |
putAll(Map<K,V> map) |
boolean |
putIfAbsent(K key,
V value) |
ICompletableFuture<Boolean> |
putIfAbsentAsync(K key,
V value) |
void |
remove(K key) |
boolean |
remove(K key,
V oldValue) |
void |
removeAll() |
void |
removeAll(Set<K> keys) |
ICompletableFuture<V> |
removeAsync(K key) |
V |
replace(K key,
V newValue) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
set(K key,
V value) |
int |
size() |
int size()
ICompletableFuture<V> getAsync(K key)
ICompletableFuture<Boolean> putIfAbsentAsync(K key, V value)
void remove(K key)
ICompletableFuture<V> removeAsync(K key)
<T> T invoke(K key, javax.cache.processor.EntryProcessor<K,V,T> entryProcessor, Object... arguments) throws javax.cache.processor.EntryProcessorException
javax.cache.processor.EntryProcessorException
Object executeOnKey(K key, EntryProcessor entryProcessor)
Map<K,Object> executeOnEntries(EntryProcessor entryProcessor)
Map<K,Object> executeOnEntries(EntryProcessor entryProcessor, Predicate predicate)
boolean containsKey(K key)
void loadAll(boolean replaceExistingValues)
void loadAll(Set<? extends K> keys, boolean replaceExistingValues, javax.cache.integration.CompletionListener completionListener)
void removeAll()
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> invokeAll(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K,V,T> entryProcessor, Object... arguments)
void clear()
void destroy()
LocalMapStats getLocalMapStats()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.