Class AnnotatedGaugeAdapter.GaugeAdapterImpl
java.lang.Object
io.quarkus.micrometer.runtime.binder.mpmetrics.AnnotatedGaugeAdapter.GaugeAdapterImpl
- All Implemented Interfaces:
AnnotatedGaugeAdapter,MeterHolder,org.eclipse.microprofile.metrics.Gauge<Number>,org.eclipse.microprofile.metrics.Metric
- Enclosing interface:
AnnotatedGaugeAdapter
public abstract static class AnnotatedGaugeAdapter.GaugeAdapterImpl
extends Object
implements AnnotatedGaugeAdapter
Generic base instance of an AnnotatedGaugeAdapter.
Generated beans extend this base.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.micrometer.runtime.binder.mpmetrics.AnnotatedGaugeAdapter
AnnotatedGaugeAdapter.GaugeAdapterImpl -
Field Summary
FieldsModifier and TypeFieldDescription(package private) io.micrometer.core.instrument.Gauge(package private) MetricDescriptor(package private) final MpMetadata(package private) final String[](package private) final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseUnit()getId()io.micrometer.core.instrument.MetergetMeter()org.eclipse.microprofile.metrics.MetricTypegetType()name()register(MetricDescriptor id, io.micrometer.core.instrument.MeterRegistry registry) Called by MpRegistryAdapter to register the gaugeString[]tags()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.metrics.Gauge
getValue
-
Field Details
-
metadata
-
targetName
-
tags
-
id
-
gauge
io.micrometer.core.instrument.Gauge gauge
-
-
Constructor Details
-
GaugeAdapterImpl
-
GaugeAdapterImpl
-
-
Method Details
-
register
public AnnotatedGaugeAdapter.GaugeAdapterImpl register(MetricDescriptor id, io.micrometer.core.instrument.MeterRegistry registry) Called by MpRegistryAdapter to register the gauge- Specified by:
registerin interfaceAnnotatedGaugeAdapter
-
name
- Specified by:
namein interfaceAnnotatedGaugeAdapter
-
description
- Specified by:
descriptionin interfaceAnnotatedGaugeAdapter
-
baseUnit
- Specified by:
baseUnitin interfaceAnnotatedGaugeAdapter
-
tags
- Specified by:
tagsin interfaceAnnotatedGaugeAdapter
-
getMeter
public io.micrometer.core.instrument.Meter getMeter()- Specified by:
getMeterin interfaceMeterHolder
-
getId
- Specified by:
getIdin interfaceAnnotatedGaugeAdapter
-
getMetadata
- Specified by:
getMetadatain interfaceAnnotatedGaugeAdapter
-
getType
public org.eclipse.microprofile.metrics.MetricType getType()- Specified by:
getTypein interfaceMeterHolder
-
getTargetName
- Specified by:
getTargetNamein interfaceAnnotatedGaugeAdapter
-
toString
-