Class InternalSplitEnumeratorMetricGroup

    • Constructor Detail

      • InternalSplitEnumeratorMetricGroup

        public InternalSplitEnumeratorMetricGroup​(MetricGroup parent)
    • Method Detail

      • setUnassignedSplitsGauge

        public <G extends Gauge<Long>> G setUnassignedSplitsGauge​(G unassignedSplitsGauge)
        Description copied from interface: SplitEnumeratorMetricGroup
        Sets an optional gauge for the number of splits that have been enumerated but not yet assigned. For example, this would be the number of files that are in the backlog.

        Note that not every source can report this metric in an plausible and efficient way.

        Specified by:
        setUnassignedSplitsGauge in interface SplitEnumeratorMetricGroup
        Returns:
        the supplied gauge