public interface SpanTextMap extends Iterable<Map.Entry<String,String>>
SpanInjector and SpanExtractor. TextMap implementations allows Tracers to
read and write key:value String pairs from arbitrary underlying sources of data.| Modifier and Type | Method and Description |
|---|---|
Iterator<Map.Entry<String,String>> |
iterator()
Gets an iterator over arbitrary key:value pairs from the TextMapReader.
|
void |
put(String key,
String value)
Puts a key:value pair into the TextMapWriter's backing store.
|
forEach, spliteratorIterator<Map.Entry<String,String>> iterator()
void put(String key, String value)
key - a String, possibly with constraints dictated by the particular Format this TextMap is paired withvalue - a String, possibly with constraints dictated by the particular Format this TextMap is paired withCopyright © 2017 Pivotal Software, Inc.. All rights reserved.