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.| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 HealthComponentpublic java.util.Map<java.lang.String,HealthComponent> getComponents()
public java.util.Map<java.lang.String,HealthComponent> getDetails()