HealthAggregator has been deprecated@Deprecated public abstract class AbstractHealthAggregator extends java.lang.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(java.util.Map<java.lang.String,Health> healths)
Deprecated.
Aggregate several given
Health instances into one. |
protected java.util.Map<java.lang.String,java.lang.Object> |
aggregateDetails(java.util.Map<java.lang.String,Health> healths)
Deprecated.
Return the map of 'aggregate' details that should be used from the specified
healths.
|
protected abstract Status |
aggregateStatus(java.util.List<Status> candidates)
Deprecated.
Return the single 'aggregate' status that should be used from the specified
candidates.
|
public final Health aggregate(java.util.Map<java.lang.String,Health> healths)
HealthAggregatorHealth instances into one.aggregate in interface HealthAggregatorhealths - the health instances to aggregateprotected abstract Status aggregateStatus(java.util.List<Status> candidates)
candidates - the candidatesprotected java.util.Map<java.lang.String,java.lang.Object> aggregateDetails(java.util.Map<java.lang.String,Health> healths)
healths - the health instances to aggregate