public interface LegacyAsyncMap<K,V> extends BaseMap<K,V>
BaseMap
which provides additional Future
-returning
*Async methods. This interface was added so that IMap
extends these methods
with the narrower ICompletableFuture
return type and
binary backwards compatibility is maintained with previous versions of IMap
which returned Future
via bridge methods generated by the Java compiler.
See https://docs.oracle.com/javase/tutorial/java/generics/bridgeMethods.html for an explanation of
bridge methods.Modifier and Type | Method and Description |
---|---|
Future<V> |
getAsync(K key) |
Future<V> |
putAsync(K key,
V value) |
Future<V> |
putAsync(K key,
V value,
long ttl,
TimeUnit timeunit) |
Future<V> |
removeAsync(K key) |
Future<Void> |
setAsync(K key,
V value) |
Future<Void> |
setAsync(K key,
V value,
long ttl,
TimeUnit timeunit) |
Future |
submitToKey(K key,
EntryProcessor entryProcessor) |
containsKey, delete, get, isEmpty, keySet, keySet, put, put, putIfAbsent, remove, remove, replace, replace, set, size, values, values
destroy, getName, getPartitionKey, getServiceName
Future submitToKey(K key, EntryProcessor entryProcessor)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.