Class SchedulerTask

    • Method Detail

      • cancel

        public boolean cancel()
        Cancels this scheduler task.

        This method may be called repeatedly; the second and subsequent calls have no effect.

        Returns:
        Returns true if this task was already scheduled to run.
      • run

        public void run()
        The action to be performed by this scheduler task.
        Specified by:
        run in interface Runnable