| Package | Description |
|---|---|
| org.eclipse.microprofile.health |
Microprofile Health
|
| org.eclipse.microprofile.health.spi |
Microprofile Service Health Checks
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckResponseBuilder |
HealthCheckResponse.builder()
Creates an empty
HealthCheckResponseBuilder. |
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.down()
Sets the status of the health check response to
HealthCheckResponse.Status.DOWN. |
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.name(String name)
Sets the name of the health check response.
|
static HealthCheckResponseBuilder |
HealthCheckResponse.named(String name)
Creates a
HealthCheckResponseBuilder with a name. |
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.status(boolean up)
Sets the status of the health check response according to the boolean value
up. |
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.up()
Sets the status of the health check response to
HealthCheckResponse.Status.UP. |
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.withData(String key,
boolean value)
Adds additional boolean data to the health check response.
|
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.withData(String key,
long value)
Adds additional numeric data to the health check response.
|
abstract HealthCheckResponseBuilder |
HealthCheckResponseBuilder.withData(String key,
String value)
Adds additional string data to the health check response.
|
| Modifier and Type | Method and Description |
|---|---|
HealthCheckResponseBuilder |
HealthCheckResponseProvider.createResponseBuilder()
Provides an implementation of
HealthCheckResponseBuilder. |
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.