CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.util
Interface Dispatcher

All Known Implementing Classes:
ConcurrentDispatcherAWT, PooledSequentialDispatcher, PooledSequentialDispatcherAWT, SequentialDispatcher

public interface Dispatcher

A Dispatcher enques Runnable objects in a Queue for later processing by worker threads.

Version:
1.1 2008-01-02 Method stop added.
1.0 2002-05-18
Author:
Werner Randelshofer

Method Summary
 void dispatch(java.lang.Runnable r)
          Enqueues a Runnable object and for later processing by worker threads.
 void join()
           
 

Method Detail

dispatch

void dispatch(java.lang.Runnable r)
Enqueues a Runnable object and for later processing by worker threads.


join

void join()
          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

(c) Werner Randelshofer.
All rights reserved.