Class AutoValue_MeterProviderSharedState
java.lang.Object
io.opentelemetry.sdk.metrics.internal.state.MeterProviderSharedState
io.opentelemetry.sdk.metrics.internal.state.AutoValue_MeterProviderSharedState
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Clockprivate final ExemplarFilterprivate final Resourceprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_MeterProviderSharedState(Clock clock, Resource resource, long startEpochNanos, ExemplarFilter exemplarFilter) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClock()Returns theClockused for measurements.Returns theExemplarFilterfor remembering synchronous measurements.Returns theResourceto attach telemetry to.longReturns the timestamp when theSdkMeterProviderwas started, in epoch nanos.inthashCode()toString()Methods inherited from class io.opentelemetry.sdk.metrics.internal.state.MeterProviderSharedState
create
-
Field Details
-
clock
-
resource
-
startEpochNanos
private final long startEpochNanos -
exemplarFilter
-
-
Constructor Details
-
AutoValue_MeterProviderSharedState
AutoValue_MeterProviderSharedState(Clock clock, Resource resource, long startEpochNanos, ExemplarFilter exemplarFilter)
-
-
Method Details
-
getClock
Description copied from class:MeterProviderSharedStateReturns theClockused for measurements.- Specified by:
getClockin classMeterProviderSharedState
-
getResource
Description copied from class:MeterProviderSharedStateReturns theResourceto attach telemetry to.- Specified by:
getResourcein classMeterProviderSharedState
-
getStartEpochNanos
public long getStartEpochNanos()Description copied from class:MeterProviderSharedStateReturns the timestamp when theSdkMeterProviderwas started, in epoch nanos.- Specified by:
getStartEpochNanosin classMeterProviderSharedState
-
getExemplarFilter
Description copied from class:MeterProviderSharedStateReturns theExemplarFilterfor remembering synchronous measurements.- Specified by:
getExemplarFilterin classMeterProviderSharedState
-
toString
-
equals
-
hashCode
public int hashCode()
-