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 |
|---|---|
java.util.Map<java.lang.String,HealthComponent> |
getComponents() |
java.util.Map<java.lang.String,HealthComponent> |
getDetails() |
Status |
getStatus()
Return the status of the component.
|
public Status getStatus()
HealthComponentgetStatus in class HealthComponentpublic java.util.Map<java.lang.String,HealthComponent> getComponents()
public java.util.Map<java.lang.String,HealthComponent> getDetails()