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 InstrumentDescriptordescriptor
-
Constructor Summary
Constructors Constructor Description AbstractInstrument(InstrumentDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)(package private) InstrumentDescriptorgetDescriptor()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-