Class TraceComponentImplLite
java.lang.Object
io.opencensus.trace.TraceComponent
io.opencensus.impllite.trace.TraceComponentImplLite
Android-compatible implementation of the
TraceComponent.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPublic constructor to be used with reflection loading. -
Method Summary
Modifier and TypeMethodDescriptiongetClock()Returns theClockwith the provided implementation.Returns theExportComponentwith the provided implementation.Returns thePropagationComponentwith the provided implementation.Returns theTraceConfigwith the provided implementation.Returns theTracerwith the provided implementations.
-
Field Details
-
traceComponentImplBase
-
-
Constructor Details
-
TraceComponentImplLite
public TraceComponentImplLite()Public constructor to be used with reflection loading.
-
-
Method Details
-
getTracer
Description copied from class:TraceComponentReturns theTracerwith the provided implementations. If no implementation is provided then no-op implementations will be used.- Specified by:
getTracerin classTraceComponent- Returns:
- the
Tracerimplementation.
-
getPropagationComponent
Description copied from class:TraceComponentReturns thePropagationComponentwith the provided implementation. If no implementation is provided then no-op implementation will be used.- Specified by:
getPropagationComponentin classTraceComponent- Returns:
- the
PropagationComponentimplementation.
-
getClock
Description copied from class:TraceComponentReturns theClockwith the provided implementation.- Specified by:
getClockin classTraceComponent- Returns:
- the
Clockimplementation.
-
getExportComponent
Description copied from class:TraceComponentReturns theExportComponentwith the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getExportComponentin classTraceComponent- Returns:
- the
ExportComponentimplementation.
-
getTraceConfig
Description copied from class:TraceComponentReturns theTraceConfigwith the provided implementation. If no implementation is provided then no-op implementations will be used.- Specified by:
getTraceConfigin classTraceComponent- Returns:
- the
TraceConfigimplementation.
-