Interface ContextAwareTaskExecutorService

All Superinterfaces:
ContextAwareTaskExecutor, Executor, TaskExecutor, TaskExecutorService
All Known Subinterfaces:
MonitorableTaskExecutorService
All Known Implementing Classes:
SingleThreadedExecutor, SyncTaskExecutor, ThreadPoolTaskExecutor

public interface ContextAwareTaskExecutorService extends TaskExecutorService, ContextAwareTaskExecutor
Defines a TaskExecutorService which is able to decide whether the currently running code is executing in the context of the executor or not.

Thread safety

Implementations of this interface are required to be safely accessible from multiple threads concurrently.

Synchronization transparency

The methods of this interface are not required to be synchronization transparent because they may execute tasks, completion handlers tasks, etc.