Uses of Class
org.redisson.api.WorkerOptions
-
Uses of WorkerOptions in org.redisson
Modifier and TypeMethodDescriptionvoid
RedissonExecutorService.registerWorkers
(WorkerOptions options) -
Uses of WorkerOptions in org.redisson.api
Modifier and TypeMethodDescriptionWorkerOptions.addListener
(TaskListener listener) Adds task listenerWorkerOptions.beanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) Defines Spring BeanFactory instance to execute tasks with Spring's '@Autowired', '@Value' or JSR-330's '@Inject' annotation.static WorkerOptions
WorkerOptions.defaults()
WorkerOptions.executorService
(ExecutorService executorService) Defines custom ExecutorService to execute tasks.WorkerOptions.taskTimeout
(long timeout, TimeUnit unit) Defines task timeout since task execution start momentWorkerOptions.workers
(int workers) Defines workers amount used to execute tasks.Modifier and TypeMethodDescriptionvoid
RExecutorService.registerWorkers
(WorkerOptions options) Register workers