InOrderExecutor< T > Class Reference

Collaboration diagram for InOrderExecutor< T >:

List of all members.


Detailed Description

A utility class for multithreading.

Author:
schwieb
Parameters:
<T>

Classes

class  CallbackThread
class  FutureWrapper

Public Methods

 InOrderExecutor (ICallback< T > callback)
 InOrderExecutor (ICallback< T > callback, int threads)
synchronized void shutdown ()
synchronized void enqueue (Callable< T > callable)

Public Static Methods

static void main (String[] args)

Constructors

InOrderExecutor ( ICallback< T >  callback)
InOrderExecutor ( ICallback< T >  callback,
int  threads 
)

Method Details

synchronized void enqueue ( Callable< T >  callable)
static void main ( String[]  args) [static]
synchronized void shutdown ( )