vertx / io.vertx.rxjava.ext.healthchecks / HealthChecks / invoke

invoke

open fun invoke(resultHandler: Handler<JsonObject>): HealthChecks

Invokes the registered procedures and computes the outcome.

Parameters

resultHandler - the result handler, must not be null. The handler received the computed .

Return
the current io.vertx.rxjava.ext.healthchecks.HealthChecks

open fun invoke(name: String, resultHandler: Handler<AsyncResult<JsonObject>>): HealthChecks

Invokes the registered procedure with the given name and sub-procedures. It computes the overall outcome.

Parameters

name -

resultHandler - the result handler, must not be null. The handler received an marked as failed if the procedure with the given name cannot be found or invoked.

Return
the current io.vertx.rxjava.ext.healthchecks.HealthChecks