vertx / io.vertx.rxjava.ext.consul / ConsulClient / updateCheck

updateCheck

open fun updateCheck(checkId: String, status: CheckStatus, resultHandler: Handler<AsyncResult<Void>>): ConsulClient

Set status of the check to given status. Used with a check that is of the TTL type. The TTL clock will be reset.

Parameters

checkId - the ID of check

status - new status of check

resultHandler - will be called when complete

Return
reference to this, for fluency