Clear all entries in the map
Clear all entries in the map
Get a value from the map, asynchronously.
Get a value from the map, asynchronously.
Get the keys of the map, asynchronously.
Use this method with care as the map may contain a large number of keys, which may not fit entirely in memory of a single node. In this case, the invocation will result in an OutOfMemoryError.
Get the keys of the map, asynchronously.
Use this method with care as the map may contain a large number of keys, which may not fit entirely in memory of a single node. In this case, the invocation will result in an OutOfMemoryError.
Put a value in the map, asynchronously.
Put a value in the map, asynchronously.
Like {@link AsyncMap#put} but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
Like {@link AsyncMap#put} but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
Put the entry only if there is no entry with the key already present. If key already present then the existing value will be returned to the handler, otherwise null.
Put the entry only if there is no entry with the key already present. If key already present then the existing value will be returned to the handler, otherwise null.
Link {@link AsyncMap#putIfAbsent} but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
Link {@link AsyncMap#putIfAbsent} but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
Remove a value from the map, asynchronously.
Remove a value from the map, asynchronously.
Remove a value from the map, only if entry already exists with same value.
Remove a value from the map, only if entry already exists with same value.
Replace the entry only if it is currently mapped to some value
Replace the entry only if it is currently mapped to some value
Replace the entry only if it is currently mapped to some value
Replace the entry only if it is currently mapped to some value
Replace the entry only if it is currently mapped to a specific value
Replace the entry only if it is currently mapped to a specific value
Replace the entry only if it is currently mapped to a specific value
Replace the entry only if it is currently mapped to a specific value
Provide the number of entries in the map
Provide the number of entries in the map
Get the values of the map, asynchronously.
Use this method with care as the map may contain a large number of values, which may not fit entirely in memory of a single node. In this case, the invocation will result in an OutOfMemoryError.
Get the values of the map, asynchronously.
Use this method with care as the map may contain a large number of values, which may not fit entirely in memory of a single node. In this case, the invocation will result in an OutOfMemoryError.
Generated using TypeDoc
An asynchronous map.
AsyncMap does not allow
null
to be used as a key or value.