/** Sets the value of the field with the specified key, or drops if not a configured field */ public static void set(TraceContext context, String name, String value) { PropagationFields.put(context, lowercase(name), value, Extra.class); }
/** Returns the value of the field with the specified key or null if not available */ @Nullable public static String get(TraceContext context, String name) { return PropagationFields.get(context, lowercase(name), Extra.class); }
/** Sets the value of the field with the specified key, or drops if not a configured field */ public static void set(TraceContext context, String name, String value) { PropagationFields.put(context, lowercase(name), value, Extra.class); }
/** Returns the value of the field with the specified key or null if not available */ @Nullable public static String get(TraceContext context, String name) { return PropagationFields.get(context, lowercase(name), Extra.class); }