Modifier and Type | Method and Description |
---|---|
static CheckResult |
CheckResult.from(String name,
Status status) |
static CheckResult |
CheckResult.from(String name,
Throwable e) |
CheckResult |
CheckResult.setChecks(List<CheckResult> checks) |
CheckResult |
CheckResult.setFailure(Throwable failure) |
CheckResult |
CheckResult.setId(String id) |
CheckResult |
CheckResult.setStatus(Status status) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.Future<CheckResult> |
HealthChecks.checkStatus()
Like
HealthChecks.checkStatus(Handler) but returns a Future of the asynchronous result |
io.vertx.core.Future<CheckResult> |
HealthChecks.checkStatus(String name)
Like
HealthChecks.checkStatus(String, Handler) but returns a Future of the asynchronous result |
List<CheckResult> |
CheckResult.getChecks() |
Modifier and Type | Method and Description |
---|---|
static boolean |
CheckResult.isUp(CheckResult json) |
Modifier and Type | Method and Description |
---|---|
void |
HealthChecks.checkStatus(io.vertx.core.Handler<io.vertx.core.AsyncResult<CheckResult>> resultHandler)
Invokes the registered procedures.
|
void |
HealthChecks.checkStatus(String name,
io.vertx.core.Handler<io.vertx.core.AsyncResult<CheckResult>> resultHandler)
Invokes the registered procedure with the given name and sub-procedures.
|
static boolean |
CheckResult.isUp(io.vertx.core.Future<CheckResult> json) |
CheckResult |
CheckResult.setChecks(List<CheckResult> checks) |
Copyright © 2022 Eclipse. All rights reserved.