Package io.opencensus.tags.propagation
Class TagPropagationComponent
- java.lang.Object
-
- io.opencensus.tags.propagation.TagPropagationComponent
-
- Direct Known Subclasses:
NoopTags.NoopTagPropagationComponent,TagPropagationComponentImpl
public abstract class TagPropagationComponent extends java.lang.ObjectObject containing all supportedTagContextpropagation formats.- Since:
- 0.8
-
-
Constructor Summary
Constructors Constructor Description TagPropagationComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TagContextBinarySerializergetBinarySerializer()Returns theTagContextBinarySerializerfor this implementation.abstract TagContextTextFormatgetCorrelationContextFormat()Returns theTagContextTextFormatfor this implementation.
-
-
-
Method Detail
-
getBinarySerializer
public abstract TagContextBinarySerializer getBinarySerializer()
Returns theTagContextBinarySerializerfor this implementation.- Returns:
- the
TagContextBinarySerializerfor this implementation. - Since:
- 0.8
-
getCorrelationContextFormat
public abstract TagContextTextFormat getCorrelationContextFormat()
Returns theTagContextTextFormatfor this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Returns:
- the
TagContextTextFormatfor this implementation. - Since:
- 0.21
-
-