Class DistributedExecutorService
java.lang.Object
cn.sliew.carp.example.redisson.service.DistributedExecutorService
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean
@Service
public class DistributedExecutorService
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanFactoryAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidscheduleLambda(String input) voidscheduleRunnable(String input) voidscheduleRunnableWithCron(String input) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) submitCallable(String input)
-
Constructor Details
-
DistributedExecutorService
public DistributedExecutorService()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
cancel
-
submitCallable
-
scheduleRunnable
-
scheduleLambda
-
scheduleRunnableWithCron
-