Class AbstractRegistry<M extends HelidonMetric>

  • Type Parameters:
    M - general type of metric implementation supported by an implementation of this class (e.g., HelidonMetric
    Direct Known Subclasses:
    Registry

    public abstract class AbstractRegistry<M extends HelidonMetric>
    extends MetricRegistry
    Common behavior for any category (e.g., full-featured or no-op) metrics registry.

    This class provides the bookkeeping for tracking the metrics which are created and registered along with their IDs and metadata. Concrete subclasses create new instances of the various types of metrics (counter, timer, etc.).