@NotThreadSafe public final class WorkerWebUIMetrics extends Object implements Serializable
Constructor and Description |
---|
WorkerWebUIMetrics()
Creates a new instance of
WorkerWebUIMetrics . |
Modifier and Type | Method and Description |
---|---|
Map<String,com.codahale.metrics.Metric> |
getOperationMetrics()
Gets operation metrics.
|
Map<String,com.codahale.metrics.Counter> |
getRpcInvocationMetrics()
Gets rpc invocation metrics.
|
long |
getWorkerCapacityFreePercentage()
Gets worker capacity free percentage.
|
long |
getWorkerCapacityUsedPercentage()
Gets worker capacity used percentage.
|
WorkerWebUIMetrics |
setOperationMetrics(Map<String,com.codahale.metrics.Metric> OperationMetrics)
Sets operation metrics.
|
WorkerWebUIMetrics |
setRpcInvocationMetrics(Map<String,com.codahale.metrics.Counter> RpcInvocationMetrics)
Sets rpc invocation metrics.
|
WorkerWebUIMetrics |
setWorkerCapacityFreePercentage(long WorkerCapacityFreePercentage)
Sets worker capacity free percentage.
|
WorkerWebUIMetrics |
setWorkerCapacityUsedPercentage(long WorkerCapacityUsedPercentage)
Sets worker capacity used percentage.
|
String |
toString() |
public WorkerWebUIMetrics()
WorkerWebUIMetrics
.public long getWorkerCapacityUsedPercentage()
public long getWorkerCapacityFreePercentage()
public Map<String,com.codahale.metrics.Metric> getOperationMetrics()
public Map<String,com.codahale.metrics.Counter> getRpcInvocationMetrics()
public WorkerWebUIMetrics setWorkerCapacityUsedPercentage(long WorkerCapacityUsedPercentage)
WorkerCapacityUsedPercentage
- the worker capacity used percentagepublic WorkerWebUIMetrics setWorkerCapacityFreePercentage(long WorkerCapacityFreePercentage)
WorkerCapacityFreePercentage
- the worker capacity free percentagepublic WorkerWebUIMetrics setOperationMetrics(Map<String,com.codahale.metrics.Metric> OperationMetrics)
OperationMetrics
- the operation metricspublic WorkerWebUIMetrics setRpcInvocationMetrics(Map<String,com.codahale.metrics.Counter> RpcInvocationMetrics)
RpcInvocationMetrics
- the rpc invocation metricsCopyright © 2023. All Rights Reserved.