Class MetricsComponentImplBase
java.lang.Object
io.opencensus.metrics.MetricsComponent
io.opencensus.implcore.metrics.MetricsComponentImplBase
- Direct Known Subclasses:
MetricsComponentImpl, MetricsComponentImplLite
Implementation of
MetricsComponent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExportComponentImplprivate final MetricRegistryImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theExportComponentwith the provided implementation.Returns theMetricRegistrywith the provided implementation.
-
Field Details
-
exportComponent
-
metricRegistry
-
-
Constructor Details
-
MetricsComponentImplBase
-
-
Method Details
-
getExportComponent
Description copied from class:MetricsComponentReturns theExportComponentwith the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getExportComponentin classMetricsComponent- Returns:
- the
ExportComponentimplementation.
-
getMetricRegistry
Description copied from class:MetricsComponentReturns theMetricRegistrywith the provided implementation.- Specified by:
getMetricRegistryin classMetricsComponent- Returns:
- the
MetricRegistryimplementation.
-