针对传统线程池的弊端,设计了一个分布式线程池系统模型,该系统可在池内部实施功能分布、动态自我调整和任务透明传递执行.给出了该线程池内部的主要对象结构,并对池内对象在池资源的多元性及统一接口实现、负载平衡与任务透明转移以及池结构的动态监控管理与优化等几个方面的功能协作给出了详细的设计.
In this paper,the design of model with functions distribution inside of thread pool,dynamic self-adjusting and task transparent transmission with regard to the disadvantages of traditional thread pool is provided.It also depicts the major objects structure in thread pool and gives detailed description of the polytypism of pool resources and the realization of unified interface,load balancing and transparent transfer of task,dynamic monitoring,management and optimization of pool structure.