The TaskManager Class of the com.ms.util package schedules or manages the execution of runnable objects.
public class TaskManager implements Runnable { // Constructors public TaskManager(ThreadGroup threadGroup); public TaskManager(ThreadGroup threadGroup boolean runTasksAsDaemons); // Methods public synchronized boolean cancel(int id); public static TaskManager global(); public void run(); public int schedule(Runnable runnable); public int schedule(Runnable runnable, long when); public synchronized int schedule(Runnable runnable, long when, boolean lightweight); }