public static final class MetricValue.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricValue |
add()
Builds a MetricValue object.
|
MetricValue.Builder |
count(long count)
Sets count value.
|
MetricValue.Builder |
load(long load)
Sets load value.
|
MetricValue.Builder |
rate(long rate)
Sets rate value.
|
public MetricValue.Builder rate(long rate)
rate
- rate valuepublic MetricValue.Builder load(long load)
load
- load valuepublic MetricValue.Builder count(long count)
count
- count valuepublic MetricValue add()