Uses of Class
org.redisson.api.WorkerOptions
-
Packages that use WorkerOptions Package Description org.redisson org.redisson.api -
-
Uses of WorkerOptions in org.redisson
Methods in org.redisson with parameters of type WorkerOptions Modifier and Type Method Description void
RedissonExecutorService. registerWorkers(WorkerOptions options)
-
Uses of WorkerOptions in org.redisson.api
Methods in org.redisson.api that return WorkerOptions Modifier and Type Method Description WorkerOptions
WorkerOptions. addListener(TaskListener listener)
Adds task listenerWorkerOptions
WorkerOptions. 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
WorkerOptions. executorService(ExecutorService executorService)
Defines custom ExecutorService to execute tasks.WorkerOptions
WorkerOptions. taskTimeout(long timeout, TimeUnit unit)
Defines task timeout since task execution start momentWorkerOptions
WorkerOptions. workers(int workers)
Defines workers amount used to execute tasks.Methods in org.redisson.api with parameters of type WorkerOptions Modifier and Type Method Description void
RExecutorService. registerWorkers(WorkerOptions options)
Register workers
-