@Internal public class InternalSplitEnumeratorMetricGroup extends ProxyMetricGroup<MetricGroup> implements SplitEnumeratorMetricGroup
MetricGroup
representing an SplitEnumerator
.parentMetricGroup
Constructor and Description |
---|
InternalSplitEnumeratorMetricGroup(MetricGroup parent) |
Modifier and Type | Method and Description |
---|---|
<G extends Gauge<Long>> |
setUnassignedSplitsGauge(G unassignedSplitsGauge)
Sets an optional gauge for the number of splits that have been enumerated but not yet
assigned.
|
addGroup, addGroup, counter, counter, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, meter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addGroup, addGroup, addGroup, counter, counter, counter, counter, gauge, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, histogram, meter, meter
public InternalSplitEnumeratorMetricGroup(MetricGroup parent)
public <G extends Gauge<Long>> G setUnassignedSplitsGauge(G unassignedSplitsGauge)
SplitEnumeratorMetricGroup
Note that not every source can report this metric in an plausible and efficient way.
setUnassignedSplitsGauge
in interface SplitEnumeratorMetricGroup
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.