vertx / io.vertx.core.shareddata / SharedData / getClusterWideMap

# getClusterWideMap

`abstract fun <K : Any, V : Any> getClusterWideMap(name: String, resultHandler: Handler<AsyncResult<AsyncMap<K, V>>>): Unit`

Get the cluster wide map with the specified name. 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.

### Parameters

`name` - the name of the map

`resultHandler` - the map will be returned asynchronously in this handler

### Exceptions

`IllegalStateException` - if the parent io.vertx.core.Vertx instance is not clustered