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 ImmutableEntry
create
(String value, BaggageEntryMetadata entryMetadata) Creates anEntry
from the given key, value and metadata.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.opentelemetry.api.baggage.BaggageEntry
getMetadata, getValue
-
Constructor Details
-
ImmutableEntry
ImmutableEntry()
-
-
Method Details
-
create
Creates anEntry
from the given key, value and metadata.- Parameters:
value
- the entry value.entryMetadata
- the entry metadata.- Returns:
- a
Entry
.
-