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.AbstractTask Common class for bothPollingTasks andBackgroundTasksBackgroundTaskExecutionPollingTask APollingTaskHandlerwhich executes pendingBackgroundTasksBackgroundTaskHandlerImpl Implementation forBackgroundTaskHandlerEntityBatchPollingTask<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.PollingTaskHandlerImpl Implementation forPollingTaskHandlerSimplePollingTask APollingTaskwhich runs a method