public static final class Profiling.NoOp extends Object implements Profiling
Profiling.NoOp
Modifier and Type | Field and Description |
---|---|
static Profiling.NoOp |
INSTANCE |
Constructor and Description |
---|
NoOp() |
Modifier and Type | Method and Description |
---|---|
ProfilingContextSetter |
createContextSetter(String attribute)
Creates a setter for the attribute, slightly more efficient than calling setContextValue
|
ProfilingScope |
newScope()
Stateful API which restores the previous context when closed.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearContextValue, setContextValue
public static final Profiling.NoOp INSTANCE
public ProfilingContextSetter createContextSetter(String attribute)
Profiling
createContextSetter
in interface Profiling
attribute
- the name of the attributepublic ProfilingScope newScope()
Profiling