oracle.javatools.parser.util
Class AsyncScheduler

java.lang.Object
oracle.javatools.parser.util.AsyncScheduler

public class AsyncScheduler

extends java.lang.Object

The AsyncScheduler is a part of a basic API to allow
scheduling asynchronous tasks that support cancelling while the
task is running. It is recommended that JSR 166 be used when
it becomes available as part of the JDK later.

This scheduler schedules background threads to complete queued tasks.
If there are no tasks queued, the background threads will exit.