Class CompositeHealth
java.lang.Object
org.springframework.boot.actuate.health.HealthComponent
org.springframework.boot.actuate.health.CompositeHealth
- All Implemented Interfaces:
OperationResponseBody
- Direct Known Subclasses:
SystemHealth
A
HealthComponent
that is composed of other HealthComponent
instances.
Used to provide a unified view of related components. For example, a database health
indicator may be a composite containing the Health
of each datasource
connection.- Since:
- 2.2.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionReturn the status of the component.
-
Method Details
-
getStatus
Description copied from class:HealthComponent
Return the status of the component.- Specified by:
getStatus
in classHealthComponent
- Returns:
- the component status
-
getComponents
-
getDetails
-