Interface CustomRecurringTaskServiceLocal

    • Method Detail

      • getNextExecution

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

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

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