Package org.cyclos.impl.utils.tasks
-
Interface Summary Interface Description BackgroundTask A task which is executed on the background.BackgroundTaskHandler Handles the execution ofBackgroundTasksBackgroundTaskHandlerImplementor Contains internal methods forBackgroundTaskHandlerPollingTask A PollingTask is a task which keeps looking for available data to be processed.PollingTaskHandler Handles thePollingTasks lifecycle, as well as allows some control over themPollingTaskHandlerImplementor Contains the internal methods forPollingTaskHandler -
Class Summary Class Description AbstractBackgroundTask Abstract implementation forBackgroundTaskAbstractPollingTask Base class for tasks which keeps looking for available data to be processed.AbstractPollingTaskHandlerImpl Implementation forPollingTaskHandlerAbstractTask Common class for bothPollingTasks andBackgroundTasksBackgroundTaskExecutionContext Contains context to run a Background taskBackgroundTaskExecutionPollingTask APollingTaskHandlerwhich executes pendingBackgroundTasksBackgroundTaskHandlerImpl Implementation forBackgroundTaskHandlerBackgroundTaskHandlerImpl.TaskAccessor BackgroundTaskScheduling Parameters to schedule a background taskBaseBackgroundTaskScheduling<T extends BaseBackgroundTaskScheduling<?>> Common parameters to schedule a background taskCustomBackgroundTaskScheduling Parameters to schedule a background taskEntityBatchPollingTask<E extends IEntity> APollingTaskwhich processes entities with the given workflow: Calls, within a transaction,EntityBatchPollingTask.nextIds(), which should return the identifiers of the next objects to process; If null or an empty list is returned, the current execution is over.PollingTaskHandlerFactoryBean FactoryBeanwhich exposesClusterHandler.getPollingTaskHandler()as a beanRunningTaskDescriptor Serializable class containing information about a running task.SimplePollingTask APollingTaskwhich runs a method