vertx / io.vertx.reactivex.core.shareddata / SharedData / getAsyncMap

getAsyncMap

open fun <K : Any, V : Any> getAsyncMap(name: String, resultHandler: Handler<AsyncResult<AsyncMap<K, V>>>): Unit

Get the io.vertx.reactivex.core.shareddata.AsyncMap with the specified name. When clustered, the map is accessible to all nodes in the cluster and data put into the map from any node is visible to to any other node.

WARNING: In clustered mode, asynchronous shared maps rely on distributed data structures provided by the cluster manager. Beware that the latency relative to asynchronous shared maps operations can be much higher in clustered than in local mode.

Parameters

name - the name of the map

resultHandler - the map will be returned asynchronously in this handler