|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Interface Summary | |
| ActivePoolInt | This is the interface implemented by the class acting as the active pool of threads - in this case
ActivePool. |
| PassivePoolInt | This interface is implemented by the class which acts as the passive pool for threads - in this
case PassivePool. |
| ThreadCapsuleInt | This interface is implementd by the class which is acting as the thread capsule - in this case
ThreadCapsule. |
| ThreadPoolInt | This interface is implemented by the class which shall be the main engine for thread pool
in this case ThreadPool. |
| Class Summary | |
| PassivePool | This class represents the passive pool of threads which are waiting to service clients. |
| ThreadCapsule | This class represents a layer or a capsule over the client processing thread and is responsible for managing the life-cycle of individual threads. |
| ThreadPool | This class is an generic implementation of a thread pool, which takes the following input a) Size of the pool to be constructed b) Name of the class which implements Runnable (which has a visible default constructor) and constructs a thread pool with active threads that are waiting for activation. once the threads have finished processing they come back and wait once again in the pool. |
| Exception Summary | |
| ClientsUnderServiceException | This is the exception class - it is thrown by the ThreadPool under different circumstances. |
| IllegalClassException | This is the exception class - it is thrown by the ThreadPool if the Class provided in the constructor is not an instanceof java.lang.Runnable. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||