| Constructor and Description | 
|---|
| DelegatingGauge(MetricName name)Create a  DelegatingGaugewithperWorkerGaugeandprocessWideContainerset to false. | 
| DelegatingGauge(MetricName name,
               boolean processWideContainer)Create a  DelegatingGaugewithperWorkerGaugeset to false. | 
| DelegatingGauge(MetricName name,
               boolean processWideContainer,
               boolean perWorkerGauge) | 
| Modifier and Type | Method and Description | 
|---|---|
| MetricName | getName()The  MetricNamegiven 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)
DelegatingGauge with perWorkerGauge set to false.name - Metric name for this metric.processWideContainer - Whether this Gauge is stored in the ProcessWide container or the
     current thread's container.public DelegatingGauge(MetricName name, boolean processWideContainer, boolean perWorkerGauge)
name - Metric name for this metric.processWideContainer - Whether this gauge is stored in the ProcessWide container or the
     current thread's container.perWorkerGauge - Whether this gauge refers to a perWorker metric or not.public MetricName getName()
MetricMetricName given to this metric.