/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.org
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package org.huihoo.jfox.pool.thread;

import org.huihoo.jfox.pool.PoolableObject;

/**
 * 
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */


interface ThreadPoolableObject extends PoolableObject {
  /**
   * destroy this thread
   */
  void discard();

  void setTask(ThreadTask task);
  
}
