Microsoft SDK for Java

Task Class

The Task Class of the com.ms.util package schedules and manages the execution of runnable objects in the global task manager.

public class Task
{
  // Methods
  public static boolean cancel(int id);
  public static int schedule(Runnable runnable);
  public static int schedule(Runnable runnable, long when);
  public static int schedule(Runnable runnable, long when
        boolean lightweight);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.