com.caucho.util
Class ResinThreadPoolExecutor
java.lang.Object
com.caucho.util.ResinThreadPoolExecutor
- All Implemented Interfaces:
- java.util.concurrent.Executor
public class ResinThreadPoolExecutor
- extends java.lang.Object
- implements java.util.concurrent.Executor
A generic pool of threads available for Alarms and Work tasks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getThreadPool
public static ResinThreadPoolExecutor getThreadPool()
execute
public void execute(java.lang.Runnable task)
- Specified by:
execute
in interface java.util.concurrent.Executor
stopEnvironment
public void stopEnvironment(java.lang.ClassLoader env)
- Resets the thread pool, letting old threads drain.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object