@Immutable public interface Baggage
String to String and EntryMetadata that can be used to label
anything that is associated with a specific operation.
For example, Baggages can be used to label stats, log messages, or debugging
information.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Baggage.Builder
Builder for the
Baggage class. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Entry> |
getEntries()
Returns an immutable collection of the entries in this
Baggage. |
String |
getEntryValue(String entryKey)
Returns the
String associated with the given key. |
Collection<Entry> getEntries()
Baggage. Order of entries is not
guaranteed.Baggage.