KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > pool > thread > ThreadPool


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6 package org.jfox.pool.thread;
7
8 /**
9  * 所有可以交由 ThreadPool 来运行的对象必须实现这个接口
10  *
11  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
12  */

13
14
15 public interface ThreadPool {
16     /**
17      * run a Threadable object
18      *
19      * @param thread
20      */

21     void execute(Threadable thread);
22
23 }
24
Popular Tags