public abstract class AbstractHealthAggregator extends Object implements HealthAggregator
HealthAggregator
implementation to allow subclasses to focus on
aggregating the Status
instances and not deal with contextual details etc.Constructor and Description |
---|
AbstractHealthAggregator() |
Modifier and Type | Method and Description |
---|---|
Health |
aggregate(Map<String,Health> healths)
Aggregate several given
Health instances into one. |
protected abstract Status |
aggregateStatus(List<Status> candidates)
Return the single 'aggregate' status that should be used from the specified
candidates.
|
public final Health aggregate(Map<String,Health> healths)
HealthAggregator
Health
instances into one.aggregate
in interface HealthAggregator
healths
- the health instances to aggregateCopyright © 2015 Pivotal Software, Inc.. All rights reserved.