ERLocalWorkerChannel Class Reference

Inherits er::workerchannel::ERWorkerChannel.

Collaboration diagram for ERLocalWorkerChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized void cancelScheduledWorkUnits ()
int currentQueueSize ()
synchronized ERWorkUnit dispatchWorkUnit ()
 ERLocalWorkerChannel (int numberOfThreads, int queueSize)
void resumeWorkers ()
synchronized ERResultUnit scheduleWorkUnit (ERWorkUnit workUnit)
synchronized void shutdownWorkers ()
void startWorkers ()
void suspendWorkers ()

Static Public Attributes

static final ERXLogger log = ERXLogger.getERXLogger(ERLocalWorkerChannel.class)

Private Member Functions

void _initalizeWorkUnitQueue ()

Private Attributes

int _count
int _head
boolean _isSuspended
final int _queueSize
int _tail
final ERWorkerThread[] _threadPool
ERWorkUnit[] _workUnitQueue


Constructor & Destructor Documentation

ERLocalWorkerChannel ( int  numberOfThreads,
int  queueSize 
)


Member Function Documentation

void _initalizeWorkUnitQueue (  )  [private]

synchronized void cancelScheduledWorkUnits (  ) 

Implements ERWorkerChannel.

int currentQueueSize (  ) 

Implements ERWorkerChannel.

synchronized ERWorkUnit dispatchWorkUnit (  ) 

Implements ERWorkerChannel.

void resumeWorkers (  ) 

Implements ERWorkerChannel.

synchronized ERResultUnit scheduleWorkUnit ( ERWorkUnit  workUnit  ) 

Implements ERWorkerChannel.

synchronized void shutdownWorkers (  ) 

Implements ERWorkerChannel.

void startWorkers (  ) 

Implements ERWorkerChannel.

void suspendWorkers (  ) 

Implements ERWorkerChannel.


Member Data Documentation

int _count [private]

int _head [private]

boolean _isSuspended [private]

final int _queueSize [private]

int _tail [private]

final ERWorkerThread [] _threadPool [private]

ERWorkUnit [] _workUnitQueue [private]

final ERXLogger log = ERXLogger.getERXLogger(ERLocalWorkerChannel.class) [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:37 2012 for Project Wonder by  doxygen 1.5.8