public class EvenClusterLoadPlanGoalStatsOverview extends Object
| Constructor and Description |
|---|
EvenClusterLoadPlanGoalStatsOverview(String goalStatus,
List<EvenClusterLoadPlanGoalStatsOverviewRejectingGoal> rejectingGoals,
int proposalsGenerated,
int proposalsRejected,
double proposalsRejectedPercent,
int proposalsAccepted,
double proposalsAcceptedPercent,
int moves,
int swaps)
Creates an
EvenClusterLoadPlanGoalStatsOverview object. |
| Modifier and Type | Method and Description |
|---|---|
String |
goalStatus()
Status of the goal after cluster rebalance.
|
int |
moves()
Number of replica moves that this goal generates.
|
int |
proposalsAccepted()
Total replica reassignment proposals accepted by other goals.
|
double |
proposalsAcceptedPercent()
Percentage of replica reassignment proposals generated by this goal and
accepted by other goals.
|
int |
proposalsGenerated()
Total replica reassignment proposals generated by this goal.
|
int |
proposalsRejected()
Total replica reassignment proposals generated by this goal and rejected by other goals.
|
double |
proposalsRejectedPercent()
Percentage of replica reassignment proposals generated by this goal and rejected by other goals.
|
List<EvenClusterLoadPlanGoalStatsOverviewRejectingGoal> |
rejectingGoals()
All goals that rejected the current one's replica reassignment proposals.
|
int |
swaps()
Number of replica swaps that this goal generates.
|
String |
toString() |
public EvenClusterLoadPlanGoalStatsOverview(String goalStatus, List<EvenClusterLoadPlanGoalStatsOverviewRejectingGoal> rejectingGoals, int proposalsGenerated, int proposalsRejected, double proposalsRejectedPercent, int proposalsAccepted, double proposalsAcceptedPercent, int moves, int swaps)
EvenClusterLoadPlanGoalStatsOverview object.goalStatus - status of the goal after cluster rebalance, can be one of 'FIXED', 'VIOLATED', 'NO-ACTION'rejectingGoals - other goals that rejected the current goal's proposalsproposalsGenerated - number of cluster rebalance proposals generatedproposalsRejected - number of cluster rebalance proposals rejectedproposalsRejectedPercent - percentage of rejected cluster rebalance proposalsproposalsAccepted - number of cluster rebalance proposals acceptedproposalsAcceptedPercent - percentage of accepted cluster rebalance proposalsmoves - number of generated replica movesswaps - number of generated replica swapspublic String goalStatus()
public List<EvenClusterLoadPlanGoalStatsOverviewRejectingGoal> rejectingGoals()
public int proposalsGenerated()
public int proposalsRejected()
public double proposalsRejectedPercent()
public int proposalsAccepted()
public double proposalsAcceptedPercent()
public int moves()
public int swaps()