Copyright 2011-09-18 Werner Randelshofer

ch.randelshofer.util
Interface Dispatcher

All Known Implementing Classes:
FixedConcurrentDispatcher, FixedSpawningConcurrentDispatcher

public interface Dispatcher

Dispatcher.

Version:
2.0 2006-08-20 Methods enqueue and start added.
1.0 July 17, 2006 Created.
Author:
Werner Randelshofer

Method Summary
 void dispatch(java.lang.Runnable runner)
          Enqueues the Runnable object, and executes it on a processor thread.
 void join()
          Joins all workers of the dispatcher.
 

Method Detail

dispatch

void dispatch(java.lang.Runnable runner)
Enqueues the Runnable object, and executes it on a processor thread.


join

void join()
Joins all workers of the dispatcher.


Copyright 2011-09-18 Werner Randelshofer