Class AbstractMeter.MicrometerId
java.lang.Object
de.oktoflow.platform.support.metrics.micrometer.AbstractMeter.MicrometerId
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.metrics.Meter.Id
- Enclosing class:
AbstractMeter<M extends io.micrometer.core.instrument.Meter>
static class AbstractMeter.MicrometerId
extends Object
implements de.iip_ecosphere.platform.support.metrics.Meter.Id
A wrapped id.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMicrometerId(io.micrometer.core.instrument.Meter.Id id) Creates a wrapped instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.micrometer.core.instrument.Meter.IdgetId()Returns the implementing id.getName()List<de.iip_ecosphere.platform.support.metrics.Tag> getTags()Iterable<de.iip_ecosphere.platform.support.metrics.Tag> de.iip_ecosphere.platform.support.metrics.Meter.TypegetType()The type is used by different registry implementations to structure the exposition of metrics to different backends.inthashCode()private voidinitTags()Initializes the tags lazily.toString()
-
Field Details
-
id
private io.micrometer.core.instrument.Meter.Id id -
tags
-
-
Constructor Details
-
MicrometerId
MicrometerId(io.micrometer.core.instrument.Meter.Id id) Creates a wrapped instance.- Parameters:
id- the instance to wrap
-
-
Method Details
-
getName
- Specified by:
getNamein interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
initTags
private void initTags()Initializes the tags lazily. -
getTags
- Specified by:
getTagsin interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
getTagsAsIterable
- Specified by:
getTagsAsIterablein interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
getTag
- Specified by:
getTagin interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
getBaseUnit
- Specified by:
getBaseUnitin interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
getDescription
- Specified by:
getDescriptionin interfacede.iip_ecosphere.platform.support.metrics.Meter.Id
-
toString
-
getType
public de.iip_ecosphere.platform.support.metrics.Meter.Type getType()The type is used by different registry implementations to structure the exposition of metrics to different backends.- Specified by:
getTypein interfacede.iip_ecosphere.platform.support.metrics.Meter.Id- Returns:
- the meter's type.
-
getId
public io.micrometer.core.instrument.Meter.Id getId()Returns the implementing id.- Returns:
- the implementing id
-
hashCode
public int hashCode() -
equals
-