@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.
|
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 |
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 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 metricsCopyright © 2023. All Rights Reserved.