org.fusesource.hawtdispatch
Class Dispatch

java.lang.Object
  extended by org.fusesource.hawtdispatch.Dispatch

public class Dispatch
extends Object

The Dispatch class is used to get or create dispatch objects such as global queues, thread queues, serial queues, or dispatch sources.

It is encouraged that end users of this api do a static import of the methods defined in this class.

 import static org.fusesource.hawtdispatch.Dispatch.*;
 

The dispatch queues are Executor objects that execute tasks asynchronously on thread pools managed by the Dispatcher.