public interface Profiling extends ProfilingContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
Profiling.NoOp |
| Modifier and Type | Method and Description |
|---|---|
ProfilingContextSetter |
createContextSetter(String attribute)
Creates a setter for the attribute, slightly more efficient than calling setContextValue
|
static Profiling |
get() |
ProfilingScope |
newScope()
Stateful API which restores the previous context when closed.
|
clearContextValue, setContextValuestatic Profiling get()
ProfilingContextSetter createContextSetter(String attribute)
attribute - the name of the attributeProfilingScope newScope()