public class PredefinedPropagationFields extends PropagationFields
Modifier | Constructor | Description |
---|---|---|
protected |
PredefinedPropagationFields(PredefinedPropagationFields parent,
String... fieldNames) |
|
protected |
PredefinedPropagationFields(String... fieldNames) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
String |
get(int index) |
|
String |
get(String name) |
Returns the value of the field with the specified key or null if not available
|
int |
hashCode() |
|
void |
put(int index,
String value) |
|
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 PredefinedPropagationFields(String... fieldNames)
protected PredefinedPropagationFields(PredefinedPropagationFields parent, String... fieldNames)
public String get(String name)
PropagationFields
get
in class PropagationFields
public String get(int index)
public final void put(String name, String value)
PropagationFields
put
in class PropagationFields
public final void put(int index, String value)
protected final void putAllIfAbsent(PropagationFields parent)
PropagationFields
public final Map<String,String> toMap()
toMap
in class PropagationFields
Copyright © 2018 OpenZipkin. All rights reserved.