Class ManagerApp

java.lang.Object
com.gsitm.ustra.java.batch.manager.config.ManagerApp
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

public class ManagerApp extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
  • Constructor Details

  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
    • printStatus

      @Scheduled(fixedDelay=1000L) public void printStatus()
    • discoverNextTask

      @Scheduled(fixedDelay=1000L) public void discoverNextTask()
    • printStatusDetail

      @Scheduled(fixedDelay=60000L) public void printStatusDetail()