Interface CustomScheduledTaskServiceLocal

    • Method Detail

      • getNextExecution

        Date getNextExecution​(CustomScheduledTask task)
        Calculates the next execution date, given the parameters. Is a separated method to allow testing
      • iterateForRunningNow

        com.mysema.commons.lang.CloseableIterator<CustomScheduledTask> iterateForRunningNow()
        Iterates all custom scheduled tasks which should start running immediately
      • run

        boolean run​(Long taskId)
        Runs the task with the given identifier, generating a log. Assumes there is no current transaction.