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 |
---|---|---|
boolean |
equals(Object o) |
|
String |
get(String name) |
Returns the value of the field with the specified key or null if not available
|
int |
hashCode() |
|
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, finalize, getClass, notify, notifyAll, wait, wait, wait
get, put, toString
protected MapPropagationFields()
protected MapPropagationFields(MapPropagationFields parent)
public String get(String name)
PropagationFields
get
in class PropagationFields
public final void put(String name, String value)
PropagationFields
put
in class PropagationFields
protected final void putAllIfAbsent(PropagationFields parent)
PropagationFields
public final Map<String,String> toMap()
toMap
in class PropagationFields
Copyright © 2018 OpenZipkin. All rights reserved.