Summer.Batch.Common.TaskExecution Namespace Reference

Classes

class  AsyncTaskExecutorConstants
 AsyncTaskExecutor Constants. More...
 
interface  IAsyncTaskExecutor
 Extended interface for asynchronous ITaskExecutor implementations, offering an overloaded Execute(Task, long) variant with a start timeout parameter. More...
 
interface  ITaskExecutor
 Simple task executor interface that abstracts the execution of a Task. Implementations can use all sorts of different execution strategies, such as: synchronous, asynchronous, using a thread pool, and more. More...
 
class  SimpleAsyncTaskExecutor
 ITaskExecutor asynchronous implementation. Supports limiting concurrent threads through the "concurrencyLimit" bean property. By default, the number of concurrent threads is unlimited. NOTE: This implementation does not reuse threads! Consider a thread-pooling TaskExecutor implementation instead, in particular for executing a large number of short-lived tasks. More...
 
class  SyncTaskExecutor
 Synchronous task executor. More...
 
class  TaskRejectedException
 Exception to be thrown when a task has been rejected. More...
 
class  TaskTimeoutException
 Exception thrown when a IAsyncTaskExecutor rejects to accept a given task for execution because of the specified timeout. More...