vertx / io.vertx.reactivex.core.shareddata / AsyncMap / replaceIfPresent
replaceIfPresent
open fun replaceIfPresent(k: K, oldValue: V, newValue: V, resultHandler: Handler<AsyncResult<Boolean>>): Unit
Replace the entry only if it is currently mapped to a specific value
Parameters
k - the key
oldValue - the existing value
newValue - the new value
resultHandler - the result handler