KickJava   Java API By Example, From Geeks To Geeks.

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


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
7 package org.jfox.pool.thread;
8
9 import org.jfox.pool.PoolableObject;
10
11 /**
12  * ´æÔÚ ObjectPool Öеġ¡Thread
13  *
14  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
15  */

16
17
18 interface PoolableThread extends PoolableObject, Runnable JavaDoc {
19     /**
20      * destroy this thread
21      */

22     void discard();
23
24     void setTask(ThreadTask task);
25
26 }
27
Popular Tags