Top Description Constructors Methods
io.opentelemetry.api.baggage

pack-priv abstract Class ImmutableEntry

extends Object
implements BaggageEntry
Class Inheritance
All Implemented Interfaces
io.opentelemetry.api.baggage.BaggageEntry
Annotations
@Immutable
@AutoValue
Imports
com.google.auto.value.AutoValue, javax.annotation.concurrent.Immutable

String-String key-value pair, along with ImmutableEntryMetadata.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static ImmutableEntry

Returns:

a Entry.
create
(String
the entry value.
value
,
BaggageEntryMetadata
the entry metadata.
entryMetadata
)

Creates an Entry from the given key, value and metadata.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ImmutableEntryback to summary
pack-priv ImmutableEntry()

Method Detail

createback to summary
pack-priv static ImmutableEntry create(String value, BaggageEntryMetadata entryMetadata)

Creates an Entry from the given key, value and metadata.

Parameters
value:String

the entry value.

entryMetadata:BaggageEntryMetadata

the entry metadata.

Returns:ImmutableEntry

a Entry.