Package | Description |
---|---|
io.vertx.ext.cluster.infinispan | |
io.vertx.ext.healthchecks | |
io.vertx.reactivex.ext.healthchecks | |
io.vertx.rxjava.ext.healthchecks | |
io.vertx.spi.cluster.hazelcast |
Modifier and Type | Method and Description |
---|---|
static Handler<Promise<Status>> |
ClusterHealthCheck.createProcedure(Vertx vertx)
|
static Handler<Promise<Status>> |
ClusterHealthCheck.createProcedure(Vertx vertx,
boolean detailed)
Creates a ready-to-use Vert.x cluster
HealthChecks procedure. |
Modifier and Type | Method and Description |
---|---|
static Status |
Status.KO()
Creates a status when something bad is detected.
|
static Status |
Status.KO(JsonObject data)
Creates a status when something bad is detected.
|
static Status |
Status.OK()
Creates a status when everything is fine.
|
static Status |
Status.OK(JsonObject data)
Creates a status when everything is fine and adds metadata.
|
Status |
Status.setData(JsonObject data)
Sets the metadata.
|
Status |
Status.setKO()
Sets the outcome of the status to KO.
|
Status |
Status.setOK()
Sets the outcome of the status to OK.
|
Status |
Status.setOk(boolean ok)
Sets whether or not the current status is positive (UP) or negative (DOWN).
|
Status |
Status.setProcedureInError(boolean procedureInError)
Sets whether or not the procedure attached to this status has failed (timeout, error...).
|
Modifier and Type | Method and Description |
---|---|
static void |
StatusConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Status obj) |
static void |
StatusConverter.toJson(Status obj,
JsonObject json) |
static void |
StatusConverter.toJson(Status obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
HealthChecks |
HealthChecks.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthChecks |
HealthChecks.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
Constructor and Description |
---|
Status(Status other)
|
Modifier and Type | Method and Description |
---|---|
HealthChecks |
HealthChecks.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthChecks |
HealthChecks.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
Modifier and Type | Method and Description |
---|---|
HealthChecks |
HealthChecks.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthChecks |
HealthChecks.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
HealthCheckHandler |
HealthCheckHandler.register(String name,
long timeout,
Handler<Promise<Status>> procedure)
Registers a health check procedure.
|
Modifier and Type | Method and Description |
---|---|
static Handler<Promise<Status>> |
ClusterHealthCheck.createProcedure(Vertx vertx)
Creates a ready-to-use Vert.x cluster
HealthChecks procedure. |
Copyright © 2020 Eclipse. All rights reserved.