public class MapPropagationFields extends PropagationFields
| Modifier | Constructor | Description |
|---|---|---|
protected |
MapPropagationFields() |
|
protected |
MapPropagationFields(MapPropagationFields parent) |
|
protected |
MapPropagationFields(Map<String,String> parent) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
get(String name) |
Returns the value of the field with the specified key or null if not available
|
void |
put(String name,
String value) |
Replaces the value of the field with the specified key, ignoring if not a permitted field
|
protected void |
putAllIfAbsent(PropagationFields parent) |
for each field in the input replace the value if the key doesn't already exist
|
Map<String,String> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfind, get, put, toStringprotected MapPropagationFields()
protected MapPropagationFields(MapPropagationFields parent)
public String get(String name)
PropagationFieldsget in class PropagationFieldspublic final void put(String name, String value)
PropagationFieldsput in class PropagationFieldsprotected final void putAllIfAbsent(PropagationFields parent)
PropagationFieldspublic final Map<String,String> toMap()
toMap in class PropagationFieldsCopyright © 2018 OpenZipkin. All rights reserved.