Package nl.talsmasoftware.context.executors
Package for context aware executors.
ContextAwareExecutorService
Executor service that wraps another ExecutorService, making sure the background task operates 'within' a context snapshot taken from the submitting thread.
The executor service will make sure to close the reactivated snapshot again after the code in the task is finished, even if it throws an exception.
-
Class Summary Class Description ContextAwareExecutorService Executor service that wraps another executor service, making sure background tasks operates 'within' a context snapshot taken from the submitting thread.