Module io.helidon.metrics.api
Package io.helidon.metrics.api
Interface AbstractRegistry.GaugeFactory
- Enclosing class:
- AbstractRegistry<M extends HelidonMetric>
public static interface AbstractRegistry.GaugeFactory
Gauge factories based on either functions or suppliers.
Metrics implementations (such as the no-op implementation of the full-featured one) implement
these interfaces so as to allow the AbstractRegistry
to simply implement the MicroProfile
methods for registering gauges.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Gauge factory based on a function which provides the gauge value when passed an object of a declared type.static interface
Gauge factory based on a supplier which provides the gauge value.