-
public interface ProfilingContext
-
-
Method Summary
Modifier and Type Method Description voidsetContextValue(String attribute, String value)Sets a context value to be appended to profiling data voidsetContextValue(ProfilingContextAttribute attribute, String value)Sets a context value to be appended to profiling data. voidclearContextValue(String attribute)Clears a context value. voidclearContextValue(ProfilingContextAttribute attribute)Clears a context value. -
-
Method Detail
-
setContextValue
void setContextValue(String attribute, String value)
Sets a context value to be appended to profiling data
- Parameters:
attribute- the attribute (must have been registered at startup)value- the value
-
setContextValue
void setContextValue(ProfilingContextAttribute attribute, String value)
Sets a context value to be appended to profiling data. This overload requires an attribute tohave been obtained by calling createContextAttribute first, but is more efficient.
- Parameters:
attribute- the attribute (must have been registered at startup)value- the value
-
clearContextValue
void clearContextValue(String attribute)
Clears a context value.
- Parameters:
attribute- the attribute (must have been registered at startup)
-
clearContextValue
void clearContextValue(ProfilingContextAttribute attribute)
Clears a context value. This overload requires an attribute to have been obtained by calling createContextAttribute first, but is moreefficient.
- Parameters:
attribute- the attribute (must have been registered at startup)
-
-
-
-