public class EvenClusterLoadPlanResources extends Object
EvenClusterLoadPlanInternal
for SBC.Constructor and Description |
---|
EvenClusterLoadPlanResources(double cpuPercent,
double networkInboundKBps,
double producerInboundKBps,
double networkOutboundKBps,
double consumeOutboundKBps,
double diskMB,
double potentialNwOutKBps,
int replicas,
int leaderReplicas,
int topicReplicas)
Creates an
EvenClusterLoadPlanResources object. |
Modifier and Type | Method and Description |
---|---|
double |
consumeOutboundKBps()
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.
|
public EvenClusterLoadPlanResources(double cpuPercent, double networkInboundKBps, double producerInboundKBps, double networkOutboundKBps, double consumeOutboundKBps, double diskMB, double potentialNwOutKBps, int replicas, int leaderReplicas, int topicReplicas)
EvenClusterLoadPlanResources
object.cpuPercent
- cluster's CPU usage %networkInboundKBps
- cluster's inbound network traffic in KB/sproducerInboundKBps
- cluster's producer inbound traffic in KB/snetworkOutboundKBps
- cluster's outbound network traffic in KB/sconsumeOutboundKBps
- cluster's consumer outbound traffic in KB/s. Contains only leader traffic.diskMB
- 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 consumeOutboundKBps()
public double networkOutboundKBps()
public double diskMB()
public double potentialNwOutKBps()
public int replicas()
public int leaderReplicas()
public int topicReplicas()