@@ -112,10 +112,14 @@ var activeTableTab = "activeTableTab";
<pre>public class <spanclass="typeNameLabel">ActiveBaggage</span>
extends java.lang.Object</pre>
<divclass="block"><p>
<ahref="../../brown/tracingplane/ActiveBaggage.html"title="class in brown.tracingplane"><code>ActiveBaggage</code></a> provides static methods that mirror the methods implemented by <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a> and
<ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a>. Unlike the <ahref="../../brown/tracingplane/Baggage.html"title="class in brown.tracingplane"><code>Baggage</code></a> interface, <ahref="../../brown/tracingplane/ActiveBaggage.html"title="class in brown.tracingplane"><code>ActiveBaggage</code></a> implicitly
accesses the currently-active <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> that is being managed by the <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a>. Unless it has
been configured otherwise, this entails looking up the <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> in thread-local storage.
Extends the static <ahref="../../brown/tracingplane/Baggage.html"title="class in brown.tracingplane"><code>Baggage</code></a> API with further methods for saving, retrieving, and interacting with
<ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> instances using the default <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a>.
<p>
<p>
Unlike the <ahref="../../brown/tracingplane/Baggage.html"title="class in brown.tracingplane"><code>Baggage</code></a> interface, <ahref="../../brown/tracingplane/ActiveBaggage.html"title="class in brown.tracingplane"><code>ActiveBaggage</code></a> implicitly accesses the
currently-active <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> that is being managed by the <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a>. Unless it has been
configured otherwise, this entails looking up the <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> in thread-local storage.
@@ -112,8 +112,7 @@ var activeTableTab = "activeTableTab";
<pre>public class <spanclass="typeNameLabel">Baggage</span>
extends java.lang.Object</pre>
<divclass="block"><p>
The static methods in the <ahref="../../brown/tracingplane/Baggage.html"title="class in brown.tracingplane"><code>Baggage</code></a> class are the main entry point for manipulating <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a>
instances. The methods here mirror those provided by the <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a> interface.
The static API for manipulating <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> instances using the default <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a>.
<divclass="block">It wouldn't be Java without a camel-case caravan of nouns.
<divclass="block"><p>
Factory for <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a> instances; primarily used to configure the <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a> used by the
<ahref="../../brown/tracingplane/Baggage.html"title="class in brown.tracingplane"><code>Baggage</code></a> static API.
</p>
<ahref="../../brown/tracingplane/BaggageProviderFactory.html"title="interface in brown.tracingplane"><code>BaggageProviderFactory</code></a> is expected to have a no-arg constructor so that it can be instantiated by reflection.</div>
<p>
<ahref="../../brown/tracingplane/BaggageProviderFactory.html"title="interface in brown.tracingplane"><code>BaggageProviderFactory</code></a> is expected to have a no-arg constructor so that it can be instantiated by reflection.
@@ -112,8 +112,7 @@ var activeTableTab = "activeTableTab";
<pre>public class <spanclass="typeNameLabel">DefaultBaggageProvider</span>
extends java.lang.Object</pre>
<divclass="block"><p>
Loads the default configured <ahref="../../brown/tracingplane/BaggageProvider.html"title="interface in brown.tracingplane"><code>BaggageProvider</code></a> using reflection. Checks the <code>baggage.provider</code>
property.
Loads the <ahref="../../brown/tracingplane/BaggageProviderFactory.html"title="interface in brown.tracingplane"><code>BaggageProviderFactory</code></a> specified by <code>baggage.provider</code> using reflection.
@@ -112,8 +112,7 @@ var activeTableTab = "activeTableTab";
<pre>public class <spanclass="typeNameLabel">DefaultTransitLayer</span>
extends java.lang.Object</pre>
<divclass="block"><p>
Loads the default configured <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a> using reflection. Checks the <code>baggage.transit</code> property.
If <code>baggage.transit</code> is not set, then the default transit layer will be <ahref="../../brown/tracingplane/impl/ThreadLocalTransitLayer.html"title="class in brown.tracingplane.impl"><code>ThreadLocalTransitLayer</code></a>.
Loads the <ahref="../../brown/tracingplane/TransitLayerFactory.html"title="interface in brown.tracingplane"><code>TransitLayerFactory</code></a> specified by <code>baggage.transit</code> using reflection.
Maintains <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> instances for requests. Most <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a> implementations will store
<ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a> instances using thread-local storage; this interface primarily exists to support wrappers to
other implementations (e.g., OpenTracing).
</p>
<p>
The static methods in the <ahref="../../brown/tracingplane/ActiveBaggage.html"title="class in brown.tracingplane"><code>ActiveBaggage</code></a> interface proxy to a <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a> implementation. Typically
this implementation will be <code>ThreadLocalTransitLayer</code>, which maintains an active <ahref="../../brown/tracingplane/BaggageContext.html"title="interface in brown.tracingplane"><code>BaggageContext</code></a>
<divclass="block">It wouldn't be Java without a camel-case caravan of nouns.
<divclass="block"><p>
Factory for <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a> instances; primarily used to configure the <ahref="../../brown/tracingplane/TransitLayer.html"title="interface in brown.tracingplane"><code>TransitLayer</code></a> used by the
<ahref="../../brown/tracingplane/ActiveBaggage.html"title="class in brown.tracingplane"><code>ActiveBaggage</code></a> static API.
</p>
<ahref="../../brown/tracingplane/TransitLayerFactory.html"title="interface in brown.tracingplane"><code>TransitLayerFactory</code></a> is expected to have a no-arg constructor so that it can be instantiated by reflection.</div>
<p>
<ahref="../../brown/tracingplane/TransitLayerFactory.html"title="interface in brown.tracingplane"><code>TransitLayerFactory</code></a> is expected to have a no-arg constructor so that it can be instantiated by reflection.