com.esri.adf.web.util
Class GroupThreadPool
java.lang.Object
com.esri.adf.web.util.GroupThreadPool
- All Implemented Interfaces:
- java.io.Serializable
public class GroupThreadPool
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Field Summary |
static int |
DEFAULT_POOL_SIZE
|
protected java.util.ArrayList<java.util.concurrent.Future<?>> |
futures
|
protected static java.util.concurrent.ExecutorService |
pool
|
protected int |
poolSize
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_POOL_SIZE
public static final int DEFAULT_POOL_SIZE
- See Also:
- Constant Field Values
pool
protected static java.util.concurrent.ExecutorService pool
poolSize
protected int poolSize
futures
protected transient java.util.ArrayList<java.util.concurrent.Future<?>> futures
GroupThreadPool
public GroupThreadPool()
GroupThreadPool
public GroupThreadPool(int poolSize)
execute
public void execute(java.lang.Runnable command)
awaitTermination
public void awaitTermination()
getPoolSize
public int getPoolSize()
shutdown
@Deprecated
public void shutdown(boolean shutdownNow)
- Deprecated. As of ArcGIS Java Server 9.3 SP1, no replacement