suspend fun <K, V> SharedData.getAsyncMapAwait(: String): AsyncMap<K, V>
Get the io.vertx.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. |
|
suspend fun <K, V> SharedData.getClusterWideMapAwait(: String): AsyncMap<K, V>
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. |
|
suspend fun SharedData.getCounterAwait(: String): Counter
Get an asynchronous counter. The counter will be passed to the handler. |
|
suspend fun SharedData.getLockAwait(: String): Lock
Get an asynchronous lock with the specified name. The lock will be passed to the handler when it is available. |
|
suspend fun SharedData.getLockWithTimeoutAwait(: String, : Long): Lock
Like io.vertx.core.shareddata.SharedData but specifying a timeout. If the lock is not obtained within the timeout a failure will be sent to the handler. |