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 |
---|---|
protected Status |
OrderedHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
|
protected abstract Status |
AbstractHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
Return the single 'aggregate' status that should be used from the specified
candidates.
|
Status |
SimpleStatusAggregator.getAggregateStatus(Set<Status> statuses) |
Status |
StatusAggregator.getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of statuses.
|
default Status |
StatusAggregator.getAggregateStatus(Status... statuses)
Return the aggregate status for the given set of statuses.
|
abstract Status |
HealthComponent.getStatus()
Return the status of the component.
|
Status |
CompositeHealth.getStatus() |
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 |
SimpleHttpCodeStatusMapper.getStatusCode(Status status) |
int |
HttpCodeStatusMapper.getStatusCode(Status status)
Return the HTTP status code that corresponds to the given
health
status . |
void |
OrderedHealthAggregator.setStatusOrder(Status... statusOrder)
Deprecated.
Set the ordering of the 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 |
---|---|
protected Status |
OrderedHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
|
protected abstract Status |
AbstractHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
Return the single 'aggregate' status that should be used from the specified
candidates.
|
Status |
SimpleStatusAggregator.getAggregateStatus(Set<Status> statuses) |
Status |
StatusAggregator.getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of 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) |