BaggageContext
at several different points in the Tracing Plane.See: Description
Interface | Description |
---|---|
BDLContextUtils.BaggageAccessListener |
Utility for seeing who accesses baggage and where
|
Class | Description |
---|---|
AtomContext |
A minimal implementation of
BaggageContext based on atoms and lexicographic merge, but providing no read or
write methods to the atoms themselves. |
AtomContextProvider | |
AtomContextProviderFactory | |
BaggageHandlerRegistry |
BaggageHandlerRegistry manages the mapping of baggage handlers to bag numbers. |
BDLContext |
The full-featured
BaggageContext implementation used by the tracing plane using atoms and the baggage
protocol, intended for use in conjunction with BDL-compiled accessor classes. |
BDLContextProvider |
BaggageProvider for BDLContext , which extends NestedBaggageContext to provide object
representations for a range of data types, and to convert to and from those object representations using
BDL-generated classes. |
BDLContextProviderFactory | |
BDLContextUtils |
Helper methods for
BDLContext instances -- calculating serialized size, printing context contents, etc. |
BDLContextUtils.NullBaggageListener | |
NestedBaggageContext |
An implementation of
BaggageContext that interprets atoms using the baggage protocol, which specifies a data
layout for nested bags. |
NestedBaggageContextProvider |
BaggageProvider for NestedBaggageContext , which extends AtomContext to interpret atoms as
nested data structures. |
NestedBaggageContextProviderFactory | |
NoOpBaggageContextProvider |
A
BaggageProvider implementation that always just returns null. |
NoOpBaggageContextProviderFactory |
A
BaggageProvider implementation that always just returns null. |
NoOpTransitLayer |
A
TransitLayer that does nothing. |
NoOpTransitLayerFactory |
A
TransitLayer that does nothing. |
ThreadLocalTransitLayer |
A straightforward
TransitLayer implementation based on thread-local storage. |
ThreadLocalTransitLayerFactory |
The
TransitLayerFactory that creates ThreadLocalTransitLayer instances. |
Implementations of BaggageContext
at several different points in the Tracing Plane.
AtomContext
is the most lightweight atom-based context, which provides no accessor or convenience methods for
manipulating data. AtomContext
is purely for propagation (e.g., forwarding baggage contexts that you received
from other network calls).
NestedBaggageContext
extends the Atom Context and implements the Baggage Protocol, which gives nested data
structures.
BDLContext
is the full-featured baggage context, which provides interpretations for different data types
using atoms.