public interface Profiling
| Modifier and Type | Interface and Description |
|---|---|
static class |
Profiling.NoOp |
| Modifier and Type | Method and Description |
|---|---|
default ProfilingContextAttribute |
createContextAttribute(String attribute)
Creates a decorator for the attribute, which can be used to set and clear contexts slightly
more efficiently than with string attributes.
|
static Profiling |
get() |
default ProfilingScope |
newScope()
Stateful API which restores the previous context when closed.
|
static Profiling get()
default ProfilingScope newScope()
default ProfilingContextAttribute createContextAttribute(String attribute)
attribute - the name of the attribute