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 BaggageEntryMetadataReturns a newBaggageEntryMetadatawith the given value.static BaggageEntryMetadataempty()Returns an emptyBaggageEntryMetadata.getValue()Returns the String value of thisBaggageEntryMetadata.
-
Method Details
-
empty
Returns an emptyBaggageEntryMetadata. -
create
Returns a newBaggageEntryMetadatawith the given value. -
getValue
String getValue()Returns the String value of thisBaggageEntryMetadata.
-