public class EvenClusterLoadPlanReplicaMovementStats extends Object
EvenClusterLoadPlan
.Constructor and Description |
---|
EvenClusterLoadPlanReplicaMovementStats(int interBrokerMoves,
double interBrokerMovesMB,
int leadershipMoves)
Creates an
EvenClusterLoadPlanReplicaMovementStats object. |
Modifier and Type | Method and Description |
---|---|
int |
interBrokerMoves()
Number of replica movements between brokers.
|
double |
interBrokerMovesMB()
Amount of replica movements between brokers in megabytes.
|
int |
leadershipMoves()
Number of replica leadership moves.
|
public EvenClusterLoadPlanReplicaMovementStats(int interBrokerMoves, double interBrokerMovesMB, int leadershipMoves)
EvenClusterLoadPlanReplicaMovementStats
object.interBrokerMoves
- the number of reassignments moving replicas from one broker to another - e.g [1,2,3] => [1,2,4]interBrokerMovesMB
- the amount of data, in megabytes, to be moved from the inter-broker movesleadershipMoves
- the number of reassignments moving leadership from one broker to another - e.g [1,2,3] => [3,1,2]public int interBrokerMoves()
public double interBrokerMovesMB()
public int leadershipMoves()