Interface PollingTaskHandlerImplementor

    • Method Detail

      • awakeNow

        void awakeNow​(PollingTask pollingTask)
        Awakes the given PollingTask'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 PollingTask, which runs in a separated DB transaction.
      • cancelTasks

        void cancelTasks()
        Cancels schedulings for all PollingTasks
      • onTaskFinished

        void onTaskFinished​(PollingTask pollingTask)
        Indicates that the task has finished executing
      • onTaskStarted

        void onTaskStarted​(PollingTask pollingTask)
        Indicates that the task has started executing
      • scheduleTasks

        void scheduleTasks()
        Schedules all PollingTask executions (if not already started)