public interface DataStructureAdapter<K,V>
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | DataStructureAdapter.DataStructureMethodsContains all methods of  DataStructureAdapter. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| void | close() | 
| boolean | containsKey(K key) | 
| void | delete(K key) | 
| ICompletableFuture<Boolean> | deleteAsync(K key) | 
| void | destroy() | 
| boolean | evict(K key) | 
| void | evictAll() | 
| 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) | 
| ICompletableFuture<V> | putAsync(K key,
        V value) | 
| ICompletableFuture<V> | putAsync(K key,
        V value,
        javax.cache.expiry.ExpiryPolicy expiryPolicy) | 
| ICompletableFuture<V> | putAsync(K key,
        V value,
        long ttl,
        TimeUnit timeunit) | 
| boolean | putIfAbsent(K key,
           V value) | 
| ICompletableFuture<Boolean> | putIfAbsentAsync(K key,
                V value) | 
| void | putTransient(K key,
            V value,
            long ttl,
            TimeUnit timeunit) | 
| V | 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) | 
| ICompletableFuture<Void> | setAsync(K key,
        V value) | 
| ICompletableFuture<Void> | setAsync(K key,
        V value,
        javax.cache.expiry.ExpiryPolicy expiryPolicy) | 
| ICompletableFuture<Void> | setAsync(K key,
        V value,
        long ttl,
        TimeUnit timeunit) | 
| boolean | setExpiryPolicy(K key,
               javax.cache.expiry.ExpiryPolicy expiryPolicy) | 
| void | setExpiryPolicy(Set<K> keys,
               javax.cache.expiry.ExpiryPolicy expiryPolicy) | 
| void | setTtl(K key,
      long duration,
      TimeUnit timeUnit) | 
| int | size() | 
int size()
ICompletableFuture<V> getAsync(K key)
ICompletableFuture<Void> setAsync(K key, V value)
ICompletableFuture<Void> setAsync(K key, V value, long ttl, TimeUnit timeunit)
ICompletableFuture<Void> setAsync(K key, V value, javax.cache.expiry.ExpiryPolicy expiryPolicy)
ICompletableFuture<V> putAsync(K key, V value)
ICompletableFuture<V> putAsync(K key, V value, long ttl, TimeUnit timeunit)
ICompletableFuture<V> putAsync(K key, V value, javax.cache.expiry.ExpiryPolicy expiryPolicy)
ICompletableFuture<Boolean> putIfAbsentAsync(K key, V value)
ICompletableFuture<V> removeAsync(K key)
void delete(K key)
ICompletableFuture<Boolean> deleteAsync(K key)
boolean evict(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.EntryProcessorExceptionObject 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()
void evictAll()
<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 close()
void destroy()
boolean setExpiryPolicy(K key, javax.cache.expiry.ExpiryPolicy expiryPolicy)
LocalMapStats getLocalMapStats()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.