vertx / io.vertx.reactivex.core.shareddata / AsyncMap / rxPut

rxPut

open fun rxPut(k: K, v: V): Completable

Put a value in the map, asynchronously.

Parameters

k - the key

v - the value

Return

open fun rxPut(k: K, v: V, ttl: Long): Completable

Like io.vertx.reactivex.core.shareddata.AsyncMap#put but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.

Parameters

k - the key

v - the value

ttl - The time to live (in ms) for the entry

Return