vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.AsyncMap

Extensions for io.vertx.core.shareddata.AsyncMap

clearAwait

suspend fun <K, V> AsyncMap<K, V>.clearAwait(): Unit

Suspending version of method io.vertx.core.shareddata.AsyncMap.clear

getAwait

suspend fun <K, V> AsyncMap<K, V>.getAwait(k: K): V?

Suspending version of method io.vertx.core.shareddata.AsyncMap.get

putAwait

suspend fun <K, V> AsyncMap<K, V>.putAwait(k: K, v: V): Unit
suspend fun <K, V> AsyncMap<K, V>.putAwait(k: K, v: V, ttl: Long): Unit

Suspending version of method io.vertx.core.shareddata.AsyncMap.put

putIfAbsentAwait

suspend fun <K, V> AsyncMap<K, V>.putIfAbsentAwait(k: K, v: V): V?
suspend fun <K, V> AsyncMap<K, V>.putIfAbsentAwait(k: K, v: V, ttl: Long): V?

Suspending version of method io.vertx.core.shareddata.AsyncMap.putIfAbsent

removeAwait

suspend fun <K, V> AsyncMap<K, V>.removeAwait(k: K): V?

Suspending version of method io.vertx.core.shareddata.AsyncMap.remove

removeIfPresentAwait

suspend fun <K, V> AsyncMap<K, V>.removeIfPresentAwait(k: K, v: V): Boolean

Suspending version of method io.vertx.core.shareddata.AsyncMap.removeIfPresent

replaceAwait

suspend fun <K, V> AsyncMap<K, V>.replaceAwait(k: K, v: V): V?

Suspending version of method io.vertx.core.shareddata.AsyncMap.replace

replaceIfPresentAwait

suspend fun <K, V> AsyncMap<K, V>.replaceIfPresentAwait(k: K, oldValue: V, newValue: V): Boolean

Suspending version of method io.vertx.core.shareddata.AsyncMap.replaceIfPresent

sizeAwait

suspend fun <K, V> AsyncMap<K, V>.sizeAwait(): Int

Suspending version of method io.vertx.core.shareddata.AsyncMap.size