Uses of Interface
cn.boboweike.carrot.tasks.filters.TaskFilter
-
Packages that use TaskFilter Package Description cn.boboweike.carrot.configuration cn.boboweike.carrot.scheduling cn.boboweike.carrot.server cn.boboweike.carrot.tasks.annotations cn.boboweike.carrot.tasks.filters -
-
Uses of TaskFilter in cn.boboweike.carrot.configuration
Methods in cn.boboweike.carrot.configuration with parameters of type TaskFilter Modifier and Type Method Description CarrotConfigurationCarrotConfiguration. withTaskFilter(TaskFilter... taskFilters)Allows setting extra TaskFilters or to provide another implementation of theRetryFilter -
Uses of TaskFilter in cn.boboweike.carrot.scheduling
Constructor parameters in cn.boboweike.carrot.scheduling with type arguments of type TaskFilter Constructor Description AbstractTaskScheduler(PartitionedStorageProvider storageProvider, List<TaskFilter> taskFilters)Creates a new AbstractTaskScheduler using the provided storageProvider and the list of TaskFilters that will be used for every background taskTaskRequestScheduler(PartitionedStorageProvider storageProvider, List<TaskFilter> taskFilters)Creates a new TaskRequestScheduler using the provided storageProvider and the list of TaskFilters that will be used for every background taskTaskScheduler(PartitionedStorageProvider storageProvider, TaskDetailsGenerator taskDetailsGenerator, List<TaskFilter> taskFilters)TaskScheduler(PartitionedStorageProvider storageProvider, List<TaskFilter> taskFilters)Creates a new TaskScheduler using the provided storageProvider and the list of TaskFilters that will be used for every background task -
Uses of TaskFilter in cn.boboweike.carrot.server
Method parameters in cn.boboweike.carrot.server with type arguments of type TaskFilter Modifier and Type Method Description voidBackgroundTaskServer. setTaskFilters(List<TaskFilter> taskFilters) -
Uses of TaskFilter in cn.boboweike.carrot.tasks.annotations
Methods in cn.boboweike.carrot.tasks.annotations that return types with arguments of type TaskFilter Modifier and Type Method Description Class<? extends TaskFilter>[]taskFilters() -
Uses of TaskFilter in cn.boboweike.carrot.tasks.filters
Subinterfaces of TaskFilter in cn.boboweike.carrot.tasks.filters Modifier and Type Interface Description interfaceApplyStateFilterA filter that is triggered each time that the state of a task has changed (except when the Task is deleted via the Dashboard).interfaceElectStateFilterA filter that is triggered each time that the state of a Task is changed (except when the Task is deleted via the Dashboard).interfaceTaskClientFilterA filter that is triggered each time that a Task is about to be created (before it is saved to thePartitionedStorageProvider) has been created (after is has been saved in thePartitionedStorageProviderinterfaceTaskServerFilterA filter that is triggered each time that a Task starts processing or has been processed.Classes in cn.boboweike.carrot.tasks.filters that implement TaskFilter Modifier and Type Class Description classDisplayNameFilterclassRetryFilterA TaskFilter of typeElectStateFilterthat will retry the task if it fails for up to 10 times with an exponential back-off policy.Fields in cn.boboweike.carrot.tasks.filters with type parameters of type TaskFilter Modifier and Type Field Description protected List<TaskFilter>AbstractTaskFilters. taskFiltersMethods in cn.boboweike.carrot.tasks.filters that return types with arguments of type TaskFilter Modifier and Type Method Description protected List<TaskFilter>AbstractTaskFilters. initTaskFilters(AbstractTask task, List<TaskFilter> taskFilters)Method parameters in cn.boboweike.carrot.tasks.filters with type arguments of type TaskFilter Modifier and Type Method Description voidTaskDefaultFilters. addAll(List<? extends TaskFilter> filters)protected List<TaskFilter>AbstractTaskFilters. initTaskFilters(AbstractTask task, List<TaskFilter> taskFilters)Constructors in cn.boboweike.carrot.tasks.filters with parameters of type TaskFilter Constructor Description TaskDefaultFilters(TaskFilter... filters)Constructor parameters in cn.boboweike.carrot.tasks.filters with type arguments of type TaskFilter Constructor Description TaskDefaultFilters(List<TaskFilter> filters)
-