@FunctionalInterface public interface StatusAggregator
Status
instances.
This is required in order to combine subsystem states expressed through
Health.getStatus()
into one state for the entire system.
Modifier and Type | Method and Description |
---|---|
Status |
getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of statuses.
|
default Status |
getAggregateStatus(Status... statuses)
Return the aggregate status for the given set of statuses.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.