Package com.datadoghq.profiler
Class ContextSetter
- java.lang.Object
-
- com.datadoghq.profiler.ContextSetter
-
public class ContextSetter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContextSetter(JavaProfiler profiler, java.util.List<java.lang.String> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclearContextValue(int offset)booleanclearContextValue(java.lang.String attribute)intencode(java.lang.String key)intoffsetOf(java.lang.String attribute)booleansetContextValue(int offset, int encoding)booleansetContextValue(int offset, java.lang.String value)booleansetContextValue(java.lang.String attribute, java.lang.String value)int[]snapshotTags()voidsnapshotTags(int[] snapshot)
-
-
-
Constructor Detail
-
ContextSetter
public ContextSetter(JavaProfiler profiler, java.util.List<java.lang.String> attributes)
-
-
Method Detail
-
encode
public int encode(java.lang.String key)
-
snapshotTags
public int[] snapshotTags()
-
snapshotTags
public void snapshotTags(int[] snapshot)
-
offsetOf
public int offsetOf(java.lang.String attribute)
-
setContextValue
public boolean setContextValue(java.lang.String attribute, java.lang.String value)
-
setContextValue
public boolean setContextValue(int offset, java.lang.String value)
-
setContextValue
public boolean setContextValue(int offset, int encoding)
-
clearContextValue
public boolean clearContextValue(java.lang.String attribute)
-
clearContextValue
public boolean clearContextValue(int offset)
-
-