| Package | Description |
|---|---|
| org.springframework.boot.actuate.availability |
Actuator support for application availability concerns.
|
| org.springframework.boot.actuate.health |
Actuator health indicator and endpoints.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AvailabilityStateHealthIndicator.StatusMappings.add(S availabilityState,
Status status)
Add a new status mapping .
|
default void |
AvailabilityStateHealthIndicator.StatusMappings.addDefaultStatus(Status status)
Add the status that should be used if no explicit mapping is defined.
|
| Modifier and Type | Field and Description |
|---|---|
static Status |
Status.DOWN
Status indicating that the component or subsystem has suffered an
unexpected failure. |
static Status |
Status.OUT_OF_SERVICE
Status indicating that the component or subsystem has been taken out of
service and should not be used. |
static Status |
Status.UNKNOWN
Status indicating that the component or subsystem is in an unknown state. |
static Status |
Status.UP
Status indicating that the component or subsystem is functioning as
expected. |
| Modifier and Type | Method and Description |
|---|---|
Status |
StatusAggregator.getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of statuses.
|
Status |
SimpleStatusAggregator.getAggregateStatus(Set<Status> statuses) |
default Status |
StatusAggregator.getAggregateStatus(Status... statuses)
Return the aggregate status for the given set of statuses.
|
Status |
CompositeHealth.getStatus() |
abstract Status |
HealthComponent.getStatus()
Return the status of the component.
|
Status |
Health.getStatus()
Return the status of the health.
|
| Modifier and Type | Method and Description |
|---|---|
default Status |
StatusAggregator.getAggregateStatus(Status... statuses)
Return the aggregate status for the given set of statuses.
|
int |
HttpCodeStatusMapper.getStatusCode(Status status)
Return the HTTP status code that corresponds to the given
health
status. |
int |
SimpleHttpCodeStatusMapper.getStatusCode(Status status) |
static Health.Builder |
Health.status(Status status)
Create a new
Health.Builder instance with a specific Status. |
Health.Builder |
Health.Builder.status(Status status)
Set status to given
Status instance. |
| Modifier and Type | Method and Description |
|---|---|
Status |
StatusAggregator.getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of statuses.
|
Status |
SimpleStatusAggregator.getAggregateStatus(Set<Status> statuses) |
| Constructor and Description |
|---|
Builder(Status status)
Create new Builder instance, setting status to given
status. |
Builder(Status status,
Map<String,?> details)
Create new Builder instance, setting status to given
status and details
to given details. |
SimpleStatusAggregator(Status... order) |