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 TagContextBinarySerializer
tagContextBinarySerializer
private TagContextTextFormat
tagContextTextFormat
-
Constructor Summary
Constructors Constructor Description TagPropagationComponentImpl(CurrentState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagContextBinarySerializer
getBinarySerializer()
Returns theTagContextBinarySerializer
for this implementation.TagContextTextFormat
getCorrelationContextFormat()
Returns theTagContextTextFormat
for 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:TagPropagationComponent
Returns theTagContextBinarySerializer
for this implementation.- Specified by:
getBinarySerializer
in classTagPropagationComponent
- Returns:
- the
TagContextBinarySerializer
for this implementation.
-
getCorrelationContextFormat
public TagContextTextFormat getCorrelationContextFormat()
Description copied from class:TagPropagationComponent
Returns theTagContextTextFormat
for this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Specified by:
getCorrelationContextFormat
in classTagPropagationComponent
- Returns:
- the
TagContextTextFormat
for this implementation.
-
-