Class TaskManager


  • public class TaskManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelAllTasks()  
      boolean hasTasks()  
      void run​(java.lang.Runnable runnable, long delay)  
      void schedule​(java.lang.Runnable runnable, long delay, long period)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskManager

        public TaskManager()
    • Method Detail

      • schedule

        public void schedule​(java.lang.Runnable runnable,
                             long delay,
                             long period)
      • run

        public void run​(java.lang.Runnable runnable,
                        long delay)
      • cancelAllTasks

        public void cancelAllTasks()
      • hasTasks

        public boolean hasTasks()