Interface RecurringTaskHandlerImplementor

    • Method Detail

      • awakeNow

        void awakeNow​(RecurringTask recurringTask)
        Awakes the given RecurringTask's thread now. Not intended to be used by business services, as invoking it within a DB transaction would probably result in data to be processed not yet visible to the RecurringTask, which runs in a separated DB transaction.
      • getFirstExecution

        Date getFirstExecution​(RecurringTask task)
        Returns the time for the first execution of a task.
      • getNextExecution

        Date getNextExecution​(RecurringTask task)
        Returns the next time the task should be executed.
      • getRunningTasks

        Set<RunningTaskDescriptor> getRunningTasks()
        Returns an unmodifiable view with information about the recurring tasks that are currently running.
      • onTaskFinished

        void onTaskFinished​(RecurringTask recurringTask)
        Indicates that the task has finished executing
      • onTaskStarted

        void onTaskStarted​(RecurringTask recurringTask)
        Indicates that the task has started executing