Class AsyncEmbeddedCronJob


  • public final class AsyncEmbeddedCronJob
    extends AsyncJob
    Runs health checks/monitors that are configured with a cron expression for asynchronous execution.
    • Method Detail

      • schedule

        public boolean schedule()
        Specified by:
        schedule in class AsyncJob
      • getId

        public String getId()
      • getLastExecutingTime

        public long getLastExecutingTime()
      • getNextExecutingTime

        public long getNextExecutingTime()
      • isExecuting

        public boolean isExecuting()
      • checkAndExecute

        public void checkAndExecute​(ExecutorService tasksExecutor)