Interface ProfilingContext

All Known Subinterfaces:
ProfilingScope

public interface ProfilingContext
  • Method Details

    • setContextValue

      default 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

      default void setContextValue(ProfilingContextAttribute attribute, String value)
      Sets a context value to be appended to profiling data. This overload requires an attribute to have been obtained by calling createContextAttribute first, but is more efficient.
      Parameters:
      attribute - the attribute (must have been registered at startup)
      value - the value
    • clearContextValue

      default void clearContextValue(String attribute)
      Clears a context value.
      Parameters:
      attribute - the attribute (must have been registered at startup)
    • clearContextValue

      default void clearContextValue(ProfilingContextAttribute attribute)
      Clears a context value. This overload requires an attribute to have been obtained by calling createContextAttribute first, but is more efficient.
      Parameters:
      attribute - the attribute (must have been registered at startup)