Class TagPropagationComponentImpl
- java.lang.Object
-
- io.opencensus.tags.propagation.TagPropagationComponent
-
- io.opencensus.implcore.tags.propagation.TagPropagationComponentImpl
-
public final class TagPropagationComponentImpl extends TagPropagationComponent
Implementation ofTagPropagationComponent.
-
-
Field Summary
Fields Modifier and Type Field Description private TagContextBinarySerializertagContextBinarySerializerprivate TagContextTextFormattagContextTextFormat
-
Constructor Summary
Constructors Constructor Description TagPropagationComponentImpl(CurrentState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagContextBinarySerializergetBinarySerializer()Returns theTagContextBinarySerializerfor this implementation.TagContextTextFormatgetCorrelationContextFormat()Returns theTagContextTextFormatfor this implementation.
-
-
-
Field Detail
-
tagContextBinarySerializer
private final TagContextBinarySerializer tagContextBinarySerializer
-
tagContextTextFormat
private final TagContextTextFormat tagContextTextFormat
-
-
Constructor Detail
-
TagPropagationComponentImpl
public TagPropagationComponentImpl(CurrentState state)
-
-
Method Detail
-
getBinarySerializer
public TagContextBinarySerializer getBinarySerializer()
Description copied from class:TagPropagationComponentReturns theTagContextBinarySerializerfor this implementation.- Specified by:
getBinarySerializerin classTagPropagationComponent- Returns:
- the
TagContextBinarySerializerfor this implementation.
-
getCorrelationContextFormat
public TagContextTextFormat getCorrelationContextFormat()
Description copied from class:TagPropagationComponentReturns theTagContextTextFormatfor this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Specified by:
getCorrelationContextFormatin classTagPropagationComponent- Returns:
- the
TagContextTextFormatfor this implementation.
-
-