- getCurrent
Returns the context for the current thread. If no context is available, a new
one will be initialize
- getMDC
Returns the current mapped diagnostic context (MDC).
- getNodeName
Returns the name of this computation node. This is either the current host name
or can be set via si
- getWatch
Returns the Watch representing the execution time.
- <init>
- addToMDC
Adds a value to the mapped diagnostic context.
- detach
Detaches this CallContext from the current thread
- detachContext
Detaches this context from the current thread. This will notify all sub contexts
( SubContext) that
- fork
Forks and creates a sub context. All instantiated sub contexts are forked, the
MDC is re-initialized
- get
Returns or creates the sub context of the given type. The class of the sub
context must provide a no
- getContext
Returns the CallContext for the given thread or an empty optional if none is
present.
- getCurrentIfAvailable
Returns the context for the current thread.