Baggage entries. Upon retrieval / creation of a baggage entry puts it
in scope. Scope must be closed.
| Modifier and Type | Field and Description |
|---|---|
| public static final BaggageManager | NOOP
A noop implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public Baggage | Returns: new or already created baggagebaggage name name)
Deprecated
use
Creates a new BaggageManager#createBaggageInScope(String, String)
Baggage entry for the given name or returns an existing one
if it's already present.
|
| public Baggage | Returns: new or already created baggagebaggage name name, String baggage value value)
Deprecated
use
Creates a new BaggageManager#createBaggageInScope(String, String)
Baggage entry for the given name or returns an existing one
if it's already present.
|
| public default BaggageInScope | Returns: baggage with valuebaggage name name, String baggage value value)Creates a new |
| public default BaggageInScope | Returns: baggage with valuetrace context with baggage attached to it traceContext, String baggage name name, String baggage value value)Creates a new |
| public Map | |
| public default Map | Returns: mapping of all baggage entries from the given scopetrace context with baggage. If traceContext)null will try to get all
baggage from current available context
|
| public Baggage | Returns: baggage if present or creates a new one if missing withnull valuebaggage name name)Retrieves |
| public Baggage | getBaggage(TraceContext
trace context with baggage attached to it traceContext, String baggage name name)Retrieves |
| NOOP | back to summary |
|---|---|
| public static final BaggageManager NOOP A noop implementation. | |
| createBaggage | back to summary |
|---|---|
| public Baggage createBaggage(String name)
Deprecated Creates a new | |
| createBaggage | back to summary |
|---|---|
| public Baggage createBaggage(String name, String value)
Deprecated Creates a new
| |
| createBaggageInScope | back to summary |
|---|---|
| public default BaggageInScope createBaggageInScope(String name, String value) Creates a new
| |
| createBaggageInScope | back to summary |
|---|---|
| public default BaggageInScope createBaggageInScope(TraceContext traceContext, String name, String value) Creates a new
| |
| getAllBaggage | back to summary |
|---|---|
| public Map | |
| getAllBaggage | back to summary |
|---|---|
public default Map
| |
| getBaggage | back to summary |
|---|---|
| public Baggage getBaggage(String name) Retrieves | |
| getBaggage | back to summary |
|---|---|
| public Baggage getBaggage(TraceContext traceContext, String name) Retrieves
| |