public class EvenClusterLoadPlanGoalStatsResources extends Object
Constructor and Description |
---|
EvenClusterLoadPlanGoalStatsResources(double cpuPercent,
double networkInboundKBps,
double producerInboundKBps,
double networkOutboundKBps,
double consumerOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
Creates an
EvenClusterLoadPlanGoalStatsResources object. |
EvenClusterLoadPlanGoalStatsResources(double cpuPercent,
double networkInboundKBps,
double producerInboundKBps,
double networkOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
Deprecated.
since 7.5.0; prefer the other constructor
EvenClusterLoadPlanGoalStatsResources(double, double, double, double, double, double, int, int, int) since it includes the consumerOutboundKBps |
EvenClusterLoadPlanGoalStatsResources(double cpuPercent,
double networkInboundKBps,
double networkOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
Deprecated.
since 7.4.0; prefer the other constructor
EvenClusterLoadPlanGoalStatsResources(double, double, double, double, double, double, int, int, int) since it includes the producerInboundKBps |
Modifier and Type | Method and Description |
---|---|
double |
consumerOutboundKBps()
Cluster's consumer outbound traffic in KB/s.
|
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.
|
double |
producerInboundKBps()
Cluster's producer inbound traffic in KB/s.
|
int |
replicas()
Number of replicas in the cluster.
|
int |
topicReplicas()
Number of replicas in the cluster.
|
String |
toString() |
@Deprecated public EvenClusterLoadPlanGoalStatsResources(double cpuPercent, double networkInboundKBps, double networkOutboundKBps, double diskMB, double potentialNwOutKBps, int replicas, int leaderReplicas, int topicReplicas)
EvenClusterLoadPlanGoalStatsResources(double, double, double, double, double, double, int, int, int)
since it includes the producerInboundKBpsEvenClusterLoadPlanGoalStatsResources
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 cluster@Deprecated public EvenClusterLoadPlanGoalStatsResources(double cpuPercent, double networkInboundKBps, double producerInboundKBps, double networkOutboundKBps, double diskMB, double potentialNwOutKBps, int replicas, int leaderReplicas, int topicReplicas)
EvenClusterLoadPlanGoalStatsResources(double, double, double, double, double, double, int, int, int)
since it includes the consumerOutboundKBpsEvenClusterLoadPlanGoalStatsResources
object.cpuPercent
- cluster's CPU usage %networkInboundKBps
- cluster's inbound network traffic in KB/sproducerInboundKBps
- cluster's inbound producer 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 EvenClusterLoadPlanGoalStatsResources(double cpuPercent, double networkInboundKBps, double producerInboundKBps, double networkOutboundKBps, double consumerOutboundKBps, 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/sproducerInboundKBps
- cluster's inbound producer traffic in KB/snetworkOutboundKBps
- cluster's outbound network traffic in KB/sconsumerOutboundKBps
- cluster's outbound consumer 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 producerInboundKBps()
public double networkOutboundKBps()
public double consumerOutboundKBps()
public double diskMB()
public double potentialNwOutKBps()
public int replicas()
public int leaderReplicas()
public int topicReplicas()