public class EvenClusterLoadPlanGoalStatsResources extends Object
| Constructor and Description |
|---|
EvenClusterLoadPlanGoalStatsResources(double cpuPercent,
double networkInboundKBps,
double networkOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
Creates an
EvenClusterLoadPlanGoalStatsResources object. |
| Modifier and Type | Method and Description |
|---|---|
double |
cpuPercent()
Cluster's CPU usage percent.
|
double |
diskMB()
Cluster's disk usage in MB.
|
int |
leaderReplicas()
Number of leader replicas in the cluster.
|
double |
networkInboundKBps()
Cluster's inbound network traffic in KB/s.
|
double |
networkOutboundKBps()
Cluster's outbound network traffic in KB/s.
|
double |
potentialNwOutKBps()
Cluster's potential outgoing network traffic in KB/s.
|
int |
replicas()
Number of replicas in the cluster.
|
int |
topicReplicas()
Number of replicas in the cluster.
|
String |
toString() |
public EvenClusterLoadPlanGoalStatsResources(double cpuPercent,
double networkInboundKBps,
double networkOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
EvenClusterLoadPlanGoalStatsResources object.cpuPercent - cluster's CPU usage %networkInboundKBps - cluster's inbound network traffic in KB/snetworkOutboundKBps - cluster's outbound network traffic in KB/sdiskMB - cluster's disk usage in MBpotentialNwOutKBps - potential outbound network traffic in KB/s for the clusterreplicas - number of replicas in the clusterleaderReplicas - number of leader replicas in the clustertopicReplicas - number of topic replicas in the clusterpublic double cpuPercent()
public double networkInboundKBps()
public double networkOutboundKBps()
public double diskMB()
public double potentialNwOutKBps()
public int replicas()
public int leaderReplicas()
public int topicReplicas()