TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously.
Supports limiting concurrent threads through… API Doc
TaskExecutor implementation that executes each task synchronously
in the calling thread.
Mainly intended for testing scenarios.
Execution in… API Doc
Exception thrown when a TaskExecutor rejects to accept
a given task for execution. API Doc