Class ClusterStatusCache.StatusResponse
java.lang.Object
com.arpnetworking.clusteraggregator.ClusterStatusCache.StatusResponse
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ClusterStatusCache
Response to a cluster status request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStatusResponse
(org.apache.pekko.cluster.ClusterEvent.CurrentClusterState clusterState, Optional<ParallelLeastShardAllocationStrategy.RebalanceNotification> rebalanceNotification) Public constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.cluster.ClusterEvent.CurrentClusterState
-
Constructor Details
-
StatusResponse
public StatusResponse(@Nullable org.apache.pekko.cluster.ClusterEvent.CurrentClusterState clusterState, Optional<ParallelLeastShardAllocationStrategy.RebalanceNotification> rebalanceNotification) Public constructor.- Parameters:
clusterState
- the cluster staterebalanceNotification
- the last rebalance data
-
-
Method Details
-
getClusterState
@Nullable public org.apache.pekko.cluster.ClusterEvent.CurrentClusterState getClusterState() -
getAllocations
-