Class TimedTaskManager

java.lang.Object
org.photonvision.common.util.TimedTaskManager

public class TimedTaskManager extends Object
  • Constructor Details

    • TimedTaskManager

      public TimedTaskManager()
  • Method Details

    • getInstance

      public static TimedTaskManager getInstance()
    • addTask

      public void addTask(String identifier, Runnable runnable, long millisInterval)
    • addTask

      public void addTask(String identifier, Runnable runnable, long millisStartDelay, long millisInterval)
    • addOneShotTask

      public void addOneShotTask(Runnable runnable, long millisStartDelay)
    • cancelTask

      public void cancelTask(String identifier)
    • taskActive

      public boolean taskActive(String identifier)