Class AbstractRegistry<M extends HelidonMetric>

java.lang.Object
io.helidon.metrics.api.AbstractRegistry<M>
Type Parameters:
M - general type of metric implementation supported by an implementation of this class (e.g., HelidonMetric
All Implemented Interfaces:
MetricRegistry
Direct Known Subclasses:
Registry

public abstract class AbstractRegistry<M extends HelidonMetric> extends Object implements 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.).