@FunctionalInterface public interface HealthAggregator
Health
instances into a final one.
This is especially useful to combine subsystem states expressed through
Health.getStatus()
into one state for the entire system. The default
implementation OrderedHealthAggregator
sorts Status
instances based on
a priority list.
It is possible to add more complex Status
types to the system. In that case
either the OrderedHealthAggregator
needs to be properly configured or users
need to register a custom HealthAggregator
as bean.
Modifier and Type | Method and Description |
---|---|
Health |
aggregate(Map<String,Health> healths)
Aggregate several given
Health instances into one. |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.