- All Superinterfaces:
Baggage
Behavior of
Baggage
that can be updated.-
Method Summary
Modifier and TypeMethodDescriptionAdds a new or overrides an existing setting for the specified key using the provided value.default WritableBaggage
Adds a new or overrides an existing setting for the specified key using the provided value and baggage metadata.Methods inherited from interface io.helidon.tracing.Baggage
containsKey, get, keys
-
Method Details
-
set
Adds a new or overrides an existing setting for the specified key using the provided value.- Parameters:
key
- name of the entry to add or updatevalue
- value to assign to the entry- Returns:
- the baggage instance (for chained invocation)
-
set
Adds a new or overrides an existing setting for the specified key using the provided value and baggage metadata.- Parameters:
key
- name of the entry to add or updatevalue
- value to assign to the entrymetadata
- metadata to assign to the entry- Returns:
- the baggage instance (for chained invocation)
-