Class PropagationComponentImpl
java.lang.Object
io.opencensus.trace.propagation.PropagationComponent
io.opencensus.implcore.trace.propagation.PropagationComponentImpl
Implementation of the
PropagationComponent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextFormatprivate final BinaryFormatprivate final TextFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the B3TextFormatwith the provided implementations.Returns theBinaryFormatwith the provided implementations.Returns the TraceContextTextFormatwith the provided implementations.Methods inherited from class PropagationComponent
getNoopPropagationComponent
-
Field Details
-
binaryFormat
-
b3Format
-
traceContextFormat
-
-
Constructor Details
-
PropagationComponentImpl
public PropagationComponentImpl()
-
-
Method Details
-
getBinaryFormat
Description copied from class:PropagationComponentReturns theBinaryFormatwith the provided implementations. If no implementation is provided then no-op implementation will be used.- Specified by:
getBinaryFormatin classPropagationComponent- Returns:
- the
BinaryFormatimplementation.
-
getB3Format
Description copied from class:PropagationComponentReturns the B3TextFormatwith the provided implementations. See b3-propagation for more information. If no implementation is provided then no-op implementation will be used.- Specified by:
getB3Formatin classPropagationComponent- Returns:
- the B3
TextFormatimplementation.
-
getTraceContextFormat
Description copied from class:PropagationComponentReturns the TraceContextTextFormatwith the provided implementations. See w3c/distributed-tracing for more information. If no implementation is provided then no-op implementation will be used.- Specified by:
getTraceContextFormatin classPropagationComponent- Returns:
- the TraceContext
TextFormatimplementation.
-