|  |  |  |  | 
        
          |  |   |  
        
          | Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages 
 acdk::make::ThreadPool Class Reference#include <ThreadPool.h>
 Inheritance diagram for acdk::make::ThreadPool:
  List of all members. 
 Detailed DescriptionA pool of Threads to handle short requests very quickly without the overhead to create a thread for each request API: ACDK
 
 Author:Roger Rene Kommer (mailto:kommer@artefaktur.com) 
 Version:Revision1.7 
 Date:Date2005/04/08 10:53:20 
 See also:PoolThread 
 
 
 Constructor & Destructor Documentation
 
  
    | 
        
          | acdk::make::ThreadPool::ThreadPool | ( | int | minCount, |  
          |  |  | int | maxCount |  
          |  | ) |  |  |  
  
    |  | 
 
obj ObjectCreator, which must create an instance of PooledThread. 
     |  
 Member Function Documentation
 
  
    | 
        
          | RJob acdk::make::ThreadPool::dequeue | ( |  | ) |  |  |  
 
  
    | 
        
          | void acdk::make::ThreadPool::doShutdown | ( |  | ) |  |  |  
 
  
    | 
        
          | void acdk::make::ThreadPool::enqeue | ( | IN(RJob) | runnable | ) |  |  |  
 
  
    | 
        
          | int acdk::make::ThreadPool::failedCount | ( |  | ) |  [inline] |  |  
 
  
    | 
        
          | virtual void acdk::make::ThreadPool::run | ( |  | ) |  [virtual] |  |  
  
    |  | 
overload this method to implement working code for this thread
 
 
Reimplemented from acdk::lang::Thread.     |  
 
  
    | 
        
          | void acdk::make::ThreadPool::setJobResult | ( | JobResult | result | ) |  |  |  
 
  
    | 
        
          | bool acdk::make::ThreadPool::shutdown | ( |  | ) |  [inline] |  |  
 
  
    | 
        
          | void acdk::make::ThreadPool::startJob | ( | IN(RJob) | runnable | ) |  |  |  
 Member Data Documentation
 
 
 
 
 
 
 |  |