Class RqueueTaskAggregatorService

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationListener<RqueueExecutionEvent>, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

    @Service
    public class RqueueTaskAggregatorService
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<RqueueExecutionEvent>, org.springframework.beans.factory.DisposableBean, org.springframework.context.SmartLifecycle
    • Method Detail

      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception
      • start

        public void start()
        Specified by:
        start in interface org.springframework.context.Lifecycle
      • stop

        public void stop()
        Specified by:
        stop in interface org.springframework.context.Lifecycle
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface org.springframework.context.Lifecycle
      • onApplicationEvent

        public void onApplicationEvent​(RqueueExecutionEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<RqueueExecutionEvent>