Package | Description |
---|---|
sirius.kernel.async |
Provides a framework for asynchronous execution of given tasks.
|
Modifier and Type | Method and Description |
---|---|
CallContext |
CallContext.fork()
Forks and creates a sub context.
|
static CallContext |
CallContext.getCurrent()
Returns the context for the current thread.
|
static CallContext |
CallContext.getCurrentIfAvailable()
Returns the context for the current thread.
|
static CallContext |
CallContext.initialize()
Creates a new CallContext for the given thread.
|
Modifier and Type | Method and Description |
---|---|
static Optional<CallContext> |
CallContext.getContext(long threadId)
Returns the CallContext for the given thread or an empty optional if none is present.
|
Modifier and Type | Method and Description |
---|---|
static void |
CallContext.setCurrent(CallContext context)
Sets the CallContext for the current thread.
|
Copyright © 2018. All rights reserved.