Example usage for Java io.vertx.core.shareddata AsyncMap fields, constructors, methods, implement or subclass
The text is from its open source code.
void | get(K k, Handler Get a value from the map, asynchronously. |
void | put(K k, V v, Handler Put a value in the map, asynchronously. |
Future | put(K k, V v, long ttl) Same as #put(K,V,long,Handler) but returns a Future of the asynchronous result |
void | putIfAbsent(K k, V v, Handler Put the entry only if there is no entry with the key already present. |
Future<@Nullable V> | putIfAbsent(K k, V v, long ttl) Same as #putIfAbsent(K,V,long,Handler) but returns a Future of the asynchronous result |
void | size(Handler Provide the number of entries in the map |