vertx / io.vertx.reactivex.ext.consul / ConsulClient / updateCheckWithNote

updateCheckWithNote

open fun updateCheckWithNote(checkId: String, status: CheckStatus, note: String, 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

note - a human-readable message with the status of the check

resultHandler - will be called when complete

Return
reference to this, for fluency