public class ClusterStateAggregator extends Object
Constructor and Description |
---|
ClusterStateAggregator() |
Modifier and Type | Method and Description |
---|---|
ClusterState |
getAggregatedState()
Aggregates state from a list of poll reports.
|
public ClusterState getAggregatedState()
NodeConnectivity.NodeConnectivityType
), for instance:
1. reports = [CONNECTED, UNAVAILABLE, UNAVAILABLE], reports[0] will be used
2. reports = [CONNECTED, UNAVAILABLE, CONNECTED], reports[2] will be used
3. reports = [UNAVAILABLE, CONNECTED, UNAVAILABLE], reports[1] will be used
4. reports = [CONNECTED, CONNECTED, CONNECTED], reports[2] will be used
5. reports = [UNAVAILABLE, UNAVAILABLE, NOT_READY], reports[2] will be usedCopyright © 2019 CorfuDB. All rights reserved.