Package io.opentelemetry.api.baggage
Class ImmutableEntry
java.lang.Object
io.opentelemetry.api.baggage.ImmutableEntry
- All Implemented Interfaces:
BaggageEntry
- Direct Known Subclasses:
AutoValue_ImmutableEntry
String-String key-value pair, along with
ImmutableEntryMetadata.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ImmutableEntrycreate(String value, BaggageEntryMetadata entryMetadata) Creates anEntryfrom the given key, value and metadata.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.api.baggage.BaggageEntry
getMetadata, getValue
-
Constructor Details
-
ImmutableEntry
ImmutableEntry()
-
-
Method Details
-
create
Creates anEntryfrom the given key, value and metadata.- Parameters:
value- the entry value.entryMetadata- the entry metadata.- Returns:
- a
Entry.
-