net.sf.jbaobab.thread
Class ExecutorPool
java.lang.Object
net.sf.jbaobab.thread.ExecutorPool
public final class ExecutorPool
- extends Object
Provides static methods for sharing
ExecutorService
between different instances.
- Author:
- Oakyoon Cha
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRootExecutor
public static ExecutorService getRootExecutor()
getExecutor
public static ExecutorService getExecutor(String name)
getExecutor
public static ExecutorService getExecutor(Class clazz)
setExecutor
public static ExecutorService setExecutor(String name,
ExecutorService executor)
setExecutor
public static ExecutorService setExecutor(Class clazz,
ExecutorService executor)