Package io.opentelemetry.sdk.metrics
Class AbstractInstrument
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.AbstractInstrument
-
- Direct Known Subclasses:
SdkDoubleCounter
,SdkDoubleGauge
,SdkDoubleHistogram
,SdkDoubleUpDownCounter
,SdkLongCounter
,SdkLongGauge
,SdkLongHistogram
,SdkLongUpDownCounter
abstract class AbstractInstrument extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private InstrumentDescriptor
descriptor
-
Constructor Summary
Constructors Constructor Description AbstractInstrument(InstrumentDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
(package private) InstrumentDescriptor
getDescriptor()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
descriptor
private final InstrumentDescriptor descriptor
-
-
Constructor Detail
-
AbstractInstrument
AbstractInstrument(InstrumentDescriptor descriptor)
-
-
Method Detail
-
getDescriptor
final InstrumentDescriptor getDescriptor()
-
equals
public boolean equals(@Nullable java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-