Package io.opentelemetry.api.baggage
Interface BaggageEntryMetadata
@Immutable
public interface BaggageEntryMetadata
Metadata associated with an
BaggageEntry
. For the moment this is an opaque wrapper for a
String metadata value.-
Method Summary
Modifier and TypeMethodDescriptionstatic BaggageEntryMetadata
Returns a newBaggageEntryMetadata
with the given value.static BaggageEntryMetadata
empty()
Returns an emptyBaggageEntryMetadata
.getValue()
Returns the String value of thisBaggageEntryMetadata
.
-
Method Details
-
empty
Returns an emptyBaggageEntryMetadata
. -
create
Returns a newBaggageEntryMetadata
with the given value. -
getValue
String getValue()Returns the String value of thisBaggageEntryMetadata
.
-