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 TextFormat
private final BinaryFormat
private final TextFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the B3TextFormat
with the provided implementations.Returns theBinaryFormat
with the provided implementations.Returns the TraceContextTextFormat
with the provided implementations.Methods inherited from class io.opencensus.trace.propagation.PropagationComponent
getNoopPropagationComponent
-
Field Details
-
binaryFormat
-
b3Format
-
traceContextFormat
-
-
Constructor Details
-
PropagationComponentImpl
public PropagationComponentImpl()
-
-
Method Details
-
getBinaryFormat
Description copied from class:PropagationComponent
Returns theBinaryFormat
with the provided implementations. If no implementation is provided then no-op implementation will be used.- Specified by:
getBinaryFormat
in classPropagationComponent
- Returns:
- the
BinaryFormat
implementation.
-
getB3Format
Description copied from class:PropagationComponent
Returns the B3TextFormat
with the provided implementations. See b3-propagation for more information. If no implementation is provided then no-op implementation will be used.- Specified by:
getB3Format
in classPropagationComponent
- Returns:
- the B3
TextFormat
implementation.
-
getTraceContextFormat
Description copied from class:PropagationComponent
Returns the TraceContextTextFormat
with the provided implementations. See w3c/distributed-tracing for more information. If no implementation is provided then no-op implementation will be used.- Specified by:
getTraceContextFormat
in classPropagationComponent
- Returns:
- the TraceContext
TextFormat
implementation.
-