Uses of Class
org.redisson.api.WorkerOptions
Packages that use WorkerOptions
-
Uses of WorkerOptions in org.redisson
Methods in org.redisson with parameters of type WorkerOptionsModifier and TypeMethodDescriptionvoidRedissonExecutorService.registerWorkers(WorkerOptions options) -
Uses of WorkerOptions in org.redisson.api
Methods in org.redisson.api that return WorkerOptionsModifier 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 WorkerOptionsWorkerOptions.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.Methods in org.redisson.api with parameters of type WorkerOptionsModifier and TypeMethodDescriptionvoidRExecutorService.registerWorkers(WorkerOptions options) Register workers