Interface TimerTask

All Known Implementing Classes:
BatchManager, ImportTimer

public interface TimerTask
A Task for the Timer. This interface must be implemented by classes that should be controlled by the timer mechanism.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Abort the running timer task.
    void
    A timer task is started.
  • Method Details

    • run

      void run(TimerEntry e, String arg) throws Exception
      A timer task is started.
      Parameters:
      e - the persistent timer entry
      arg - the argument string defined in the timer entry.
      Throws:
      Exception
    • abort

      default void abort()
      Abort the running timer task. This method is not called in the current implementation. Future extensions will allow to abort a running timer task.