com.esri.adf.web.util
Class GroupThreadPool

java.lang.Object
  extended by com.esri.adf.web.util.GroupThreadPool
All Implemented Interfaces:
Serializable

public class GroupThreadPool
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int DEFAULT_POOL_SIZE
           
protected  ArrayList<Future<?>> futures
           
protected static ExecutorService pool
           
protected  int poolSize
           
 
Constructor Summary
GroupThreadPool()
           
GroupThreadPool(int poolSize)
           
 
Method Summary
 void awaitTermination()
           
 void execute(Runnable command)
           
 int getPoolSize()
           
 void shutdown(boolean shutdownNow)
          Deprecated. As of ArcGIS Java Server 9.3 SP1, no replacement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_POOL_SIZE

public static final int DEFAULT_POOL_SIZE
See Also:
Constant Field Values

pool

protected static ExecutorService pool

poolSize

protected int poolSize

futures

protected transient ArrayList<Future<?>> futures
Constructor Detail

GroupThreadPool

public GroupThreadPool()

GroupThreadPool

public GroupThreadPool(int poolSize)
Method Detail

execute

public void execute(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