open class AsyncMap<K : Any, V : Any>
An asynchronous map.
NOTE: This class has been automatically generated from the io.vertx.core.shareddata.AsyncMap non RX-ified interface using Vert.x codegen.
AsyncMap(: AsyncMap<Any, Any>)AsyncMap(: AsyncMap<Any, Any>, : TypeArg<K>, : TypeArg<V>) |
static val __TYPE_ARG: TypeArg<AsyncMap<Any, Any>> |
|
val __typeArg_0: TypeArg<K> |
|
val __typeArg_1: TypeArg<V> |
open fun clear(: Handler<AsyncResult<Void>>): Unit
Clear all entries in the map |
|
open fun equals(: Any?): Boolean |
|
open fun get(: K, : Handler<AsyncResult<V>>): Unit
Get a value from the map, asynchronously. |
|
open fun getDelegate(): AsyncMap<Any, Any> |
|
open fun hashCode(): Int |
|
open static fun <K : Any, V : Any> newInstance(: AsyncMap<Any, Any>): AsyncMap<K, V>open static fun <K : Any, V : Any> newInstance(: AsyncMap<Any, Any>, : TypeArg<K>, : TypeArg<V>): AsyncMap<K, V> |
|
open fun put(: K, : V, : Handler<AsyncResult<Void>>): Unit
Put a value in the map, asynchronously. open fun put(: K, : V, : Long, : Handler<AsyncResult<Void>>): Unit
Like |
|
open fun putIfAbsent(: K, : V, : Handler<AsyncResult<V>>): Unit
Put the entry only if there is no entry with the key already present. If key already present then the existing value will be returned to the handler, otherwise null. open fun putIfAbsent(: K, : V, : Long, : Handler<AsyncResult<V>>): Unit
Link |
|
open fun remove(: K, : Handler<AsyncResult<V>>): Unit
Remove a value from the map, asynchronously. |
|
open fun removeIfPresent(: K, : V, : Handler<AsyncResult<Boolean>>): Unit
Remove a value from the map, only if entry already exists with same value. |
|
open fun replace(: K, : V, : Handler<AsyncResult<V>>): Unit
Replace the entry only if it is currently mapped to some value |
|
open fun replaceIfPresent(: K, : V, : V, : Handler<AsyncResult<Boolean>>): Unit
Replace the entry only if it is currently mapped to a specific value |
|
open fun rxClear(): Completable
Clear all entries in the map |
|
open fun rxGet(: K): Single<V>
Get a value from the map, asynchronously. |
|
open fun rxPut(: K, : V): Completable
Put a value in the map, asynchronously. open fun rxPut(: K, : V, : Long): Completable
Like |
|
open fun rxPutIfAbsent(: K, : V): Single<V>
Put the entry only if there is no entry with the key already present. If key already present then the existing value will be returned to the handler, otherwise null. open fun rxPutIfAbsent(: K, : V, : Long): Single<V>
Link |
|
open fun rxRemove(: K): Single<V>
Remove a value from the map, asynchronously. |
|
open fun rxRemoveIfPresent(: K, : V): Single<Boolean>
Remove a value from the map, only if entry already exists with same value. |
|
open fun rxReplace(: K, : V): Single<V>
Replace the entry only if it is currently mapped to some value |
|
open fun rxReplaceIfPresent(: K, : V, : V): Single<Boolean>
Replace the entry only if it is currently mapped to a specific value |
|
open fun rxSize(): Single<Int>
Provide the number of entries in the map |
|
open fun size(: Handler<AsyncResult<Int>>): Unit
Provide the number of entries in the map |
|
open fun toString(): String |