Class TraceComponent.NoopTraceComponent
java.lang.Object
io.opencensus.trace.TraceComponent
io.opencensus.trace.TraceComponent.NoopTraceComponent
- Enclosing class:
TraceComponent
- Since:
- 0.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.Methods inherited from class TraceComponent
newNoopTraceComponent
-
Field Details
-
noopExportComponent
-
-
Constructor Details
-
NoopTraceComponent
private NoopTraceComponent()
-
-
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.
-