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

warnCheck

open fun warnCheck(checkId: String, resultHandler: Handler<AsyncResult<Void>>): ConsulClient

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

Parameters

checkId - the ID of check

resultHandler - will be called when complete

Return
reference to this, for fluency