vertx / io.vertx.spi.cluster.zookeeper / ZookeeperClusterManager / getAsyncMultiMap

getAsyncMultiMap

open fun <K : Any, V : Any> getAsyncMultiMap(name: String, handler: Handler<AsyncResult<AsyncMultiMap<K, V>>>): Unit

Every eventbus handler has an ID. SubsMap (subscriber map) is a MultiMap which maps handler-IDs with server-IDs and thus allows the eventbus to determine where to send messages.

Parameters

name - A unique name by which the the MultiMap can be identified within the cluster. See the cluster config file (e.g. io.vertx.spi.cluster.impl.zookeeper.zookeeper.properties in case of ZookeeperClusterManager) for additional MultiMap config parameters.

Return
subscription map