Package | Description |
---|---|
org.springframework.boot.actuate.health |
Actuator health indicator and endpoints.
|
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 abstract Status |
AbstractHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
Return the single 'aggregate' status that should be used from the specified
candidates.
|
protected Status |
OrderedHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
|
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 |
Health.getStatus()
Return the status of the health.
|
abstract Status |
HealthComponent.getStatus()
Return the status of the component.
|
Status |
CompositeHealth.getStatus() |
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) |
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 abstract Status |
AbstractHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
Return the single 'aggregate' status that should be used from the specified
candidates.
|
protected Status |
OrderedHealthAggregator.aggregateStatus(List<Status> candidates)
Deprecated.
|
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) |