BaggageField. Since some tracer implementations
require a scope to be wrapped around baggage, baggage must be closed so that the scope
does not leak. Some tracer implementations make baggage immutable (e.g. OpenTelemetry),
so when the value gets updated they might create new scope (others will return the same
one - e.g. OpenZipkin Brave).
Represents a single baggage entry.
| Modifier and Type | Field and Description |
|---|---|
| public static final BaggageInScope | NOOP
A noop implementation.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares java. |
| NOOP | back to summary |
|---|---|
| public static final BaggageInScope NOOP Hides io. A noop implementation. | |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |