public class MapDistributedTraceContextGetter extends Object implements DistributedTraceContextGetter
DistributedTraceContextGetter that receives a Map| Constructor and Description |
|---|
MapDistributedTraceContextGetter(Map<String,String> serializedMap) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
get(String key)
Returns the value of a field in a carrier.
|
boolean |
isEmptyDistributedTraceContext() |
Iterable<String> |
keys()
Returns all the keys of the carrier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemptyTraceContextMapGetterpublic Iterable<String> keys()
DistributedTraceContextGetterkeys in interface DistributedTraceContextGetterpublic Optional<String> get(String key)
DistributedTraceContextGetterget in interface DistributedTraceContextGetterkey - the key of the field.public boolean isEmptyDistributedTraceContext()
isEmptyDistributedTraceContext in interface DistributedTraceContextGetterCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.