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, waitclearContextValue, setContextValuepublic static final Profiling.NoOp INSTANCE
public ProfilingContextSetter createContextSetter(String attribute)
ProfilingcreateContextSetter in interface Profilingattribute - the name of the attributepublic ProfilingScope newScope()
Profiling