Package io.opencensus.impl.trace
Class TraceComponentImpl
java.lang.Object
io.opencensus.trace.TraceComponent
io.opencensus.impl.trace.TraceComponentImpl
Java 7 and 8 implementation of the
TraceComponent
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClock()
Returns theClock
with the provided implementation.Returns theExportComponent
with the provided implementation.Returns thePropagationComponent
with the provided implementation.Returns theTraceConfig
with the provided implementation.Returns theTracer
with the provided implementations.
-
Field Details
-
traceComponentImplBase
-
-
Constructor Details
-
TraceComponentImpl
public TraceComponentImpl()Public constructor to be used with reflection loading.
-
-
Method Details
-
getTracer
Description copied from class:TraceComponent
Returns theTracer
with the provided implementations. If no implementation is provided then no-op implementations will be used.- Specified by:
getTracer
in classTraceComponent
- Returns:
- the
Tracer
implementation.
-
getPropagationComponent
Description copied from class:TraceComponent
Returns thePropagationComponent
with the provided implementation. If no implementation is provided then no-op implementation will be used.- Specified by:
getPropagationComponent
in classTraceComponent
- Returns:
- the
PropagationComponent
implementation.
-
getClock
Description copied from class:TraceComponent
Returns theClock
with the provided implementation.- Specified by:
getClock
in classTraceComponent
- Returns:
- the
Clock
implementation.
-
getExportComponent
Description copied from class:TraceComponent
Returns theExportComponent
with the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getExportComponent
in classTraceComponent
- Returns:
- the
ExportComponent
implementation.
-
getTraceConfig
Description copied from class:TraceComponent
Returns theTraceConfig
with the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getTraceConfig
in classTraceComponent
- Returns:
- the
TraceConfig
implementation.
-