public class EvenClusterLoadPlanInternalReplicaMovementStats extends Object
EvenClusterLoadPlanInternal
.Constructor and Description |
---|
EvenClusterLoadPlanInternalReplicaMovementStats(int interBrokerMoves,
double interBrokerMovesMB,
int leadershipMoves)
Creates an
EvenClusterLoadPlanInternalReplicaMovementStats 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 EvenClusterLoadPlanInternalReplicaMovementStats(int interBrokerMoves, double interBrokerMovesMB, int leadershipMoves)
EvenClusterLoadPlanInternalReplicaMovementStats
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()