public class CompositeHealth extends HealthComponent
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.Modifier and Type | Method and Description |
---|---|
Map<String,HealthComponent> |
getComponents() |
Map<String,HealthComponent> |
getDetails() |
Status |
getStatus()
Return the status of the component.
|
public Status getStatus()
HealthComponent
getStatus
in class HealthComponent
public Map<String,HealthComponent> getComponents()
public Map<String,HealthComponent> getDetails()