Class TimerTask

  • All Implemented Interfaces:
    Runnable

    public abstract class TimerTask
    extends Object
    implements Runnable
    Task for the simple timer
    Author:
    Jens Wilke
    • Constructor Detail

      • TimerTask

        public TimerTask()
    • Method Detail

      • action

        protected abstract void action()
        The action to be performed by this timer task.
      • cancel

        protected boolean cancel()
      • run

        public void run()
        For the special case of immediate execution this implements Runnable.
        Specified by:
        run in interface Runnable
      • isUnscheduled

        public boolean isUnscheduled()
      • isExecuted

        public boolean isExecuted()
      • isCancelled

        public boolean isCancelled()
      • isScheduled

        public boolean isScheduled()
      • getState

        public String getState()