@Immutable public interface CorrelationContext
String to String and EntryMetadata that can be used to label
anything that is associated with a specific operation.
For example, CorrelationContexts can be used to label stats, log messages, or
debugging information.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CorrelationContext.Builder
Builder for the
CorrelationContext class. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Entry> |
getEntries()
Returns an immutable collection of the entries in this
CorrelationContext. |
String |
getEntryValue(String entryKey)
Returns the
String associated with the given key. |
Collection<Entry> getEntries()
CorrelationContext. Order of
entries is not guaranteed.CorrelationContext.