HealthAggregator
has been deprecated@Deprecated 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Health |
aggregate(Map<String,Health> healths)
Deprecated.
Aggregate several given
Health instances into one. |
protected Map<String,Object> |
aggregateDetails(Map<String,Health> healths)
Deprecated.
Return the map of 'aggregate' details that should be used from the specified
healths.
|
protected abstract Status |
aggregateStatus(List<Status> candidates)
Deprecated.
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 aggregateprotected abstract Status aggregateStatus(List<Status> candidates)
candidates
- the candidatesCopyright © 2019 Pivotal Software, Inc.. All rights reserved.