Package io.opencensus.implcore.metrics
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 ExportComponentImpl
private final MetricRegistryImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theExportComponent
with the provided implementation.Returns theMetricRegistry
with the provided implementation.
-
Field Details
-
exportComponent
-
metricRegistry
-
-
Constructor Details
-
MetricsComponentImplBase
-
-
Method Details
-
getExportComponent
Description copied from class:MetricsComponent
Returns theExportComponent
with the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getExportComponent
in classMetricsComponent
- Returns:
- the
ExportComponent
implementation.
-
getMetricRegistry
Description copied from class:MetricsComponent
Returns theMetricRegistry
with the provided implementation.- Specified by:
getMetricRegistry
in classMetricsComponent
- Returns:
- the
MetricRegistry
implementation.
-