edu.sc.seis.fissuresUtil.cache
Class WorkerThreadPool
java.lang.Object
edu.sc.seis.fissuresUtil.cache.WorkerThreadPool
public class WorkerThreadPool
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_QUEUE_SIZE
public static final int DEFAULT_MAX_QUEUE_SIZE
- See Also:
- Constant Field Values
WorkerThreadPool
public WorkerThreadPool(java.lang.String name,
int numThreads)
WorkerThreadPool
public WorkerThreadPool(java.lang.String name,
int numThreads,
int priority)
setMaxQueueSize
public void setMaxQueueSize(int i)
invokeLater
public void invokeLater(java.lang.Runnable runnable)
getDefaultPool
public static WorkerThreadPool getDefaultPool()
getNumWaiting
public int getNumWaiting()
getNumIdle
public int getNumIdle()
isEmployed
public boolean isEmployed()