java.lang.Object | |
↳ | org.apache.helix.controller.strategy.RUSHMasterSlaveStrategy |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Calculate the ideal state for list of instances clusters.
| |||||||||||
Helper function to see how many partitions are mapped to different
instances in two ideal states
| |||||||||||
Helper function to calculate and print the standard deviation of the
partition assignment ideal state.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Calculate the ideal state for list of instances clusters.
instanceClusters | List of clusters, each contain a list of node name strings. |
---|---|
instanceClusterWeights | the weight for each instance cluster |
partitions | the partition number of the database |
replicas | the replication degree |
resourceName | the name of the database |
Exception |
---|
Exception |
---|
Helper function to see how many partitions are mapped to different instances in two ideal states
Helper function to calculate and print the standard deviation of the partition assignment ideal state.