| Constructor and Description |
|---|
DelegatingGauge(MetricName name)
Create a
DelegatingGauge with perWorkerGauge and processWideContainer
set to false. |
DelegatingGauge(MetricName name,
boolean processWideContainer) |
| Modifier and Type | Method and Description |
|---|---|
MetricName |
getName()
The
MetricName given to this metric. |
void |
set(long n)
Set the gauge.
|
public DelegatingGauge(MetricName name)
DelegatingGauge with perWorkerGauge and processWideContainer
set to false.name - Metric name for this metric.public DelegatingGauge(MetricName name, boolean processWideContainer)
name - Metric name for this metric.processWideContainer - Whether this gauge is stored in the ProcessWide container or the
current thread's container.public MetricName getName()
MetricMetricName given to this metric.