com.msi.threadpuddle
Interface ThreadPuddle

All Known Implementing Classes:
ThreadPuddleImpl

public interface ThreadPuddle

The interface to be implemented by the thread puddle.


Method Summary
 void addJob(java.lang.Runnable job)
          addJob - places the supplied job into the work queue, signalling any available thread to check the queue.
 State getState()
          getState - return the current puddle status.
 

Method Detail

addJob

public void addJob(java.lang.Runnable job)
addJob - places the supplied job into the work queue, signalling any available thread to check the queue.


getState

public State getState()
getState - return the current puddle status.

Returns:
State puddle status object.


Copyright © 2001-2002 MileStone Solutions, Inc. All Rights Reserved.