insensa.connections
Class CConnectionThreadPool

java.lang.Object
  extended by insensa.connections.CConnectionThreadPool

public class CConnectionThreadPool
extends java.lang.Object


Field Summary
private  java.util.concurrent.ExecutorService exeService
           
private  java.util.List<java.lang.Runnable> runnableList
           
private  WorkerStatusList workerList
           
 
Constructor Summary
CConnectionThreadPool()
           
 
Method Summary
 void addConnectionFileChanger(java.lang.Runnable runnableObject)
           
 void executeThread(ConnectionFileChanger con)
           
 void executeThreads()
           
 java.util.concurrent.ExecutorService getExeService()
           
 java.util.List<java.lang.Runnable> getRunnableList()
           
 void removeConnection(ConnectionFileChanger conn)
           
 void setWorkerList(WorkerStatusList workerList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exeService

private java.util.concurrent.ExecutorService exeService

runnableList

private java.util.List<java.lang.Runnable> runnableList

workerList

private WorkerStatusList workerList
Constructor Detail

CConnectionThreadPool

public CConnectionThreadPool()
Method Detail

addConnectionFileChanger

public void addConnectionFileChanger(java.lang.Runnable runnableObject)
Parameters:
runnableObject -

executeThread

public void executeThread(ConnectionFileChanger con)
                   throws java.io.IOException
Parameters:
con -
Throws:
java.io.IOException

executeThreads

public void executeThreads()
                    throws java.io.IOException
Throws:
java.io.IOException

getExeService

public java.util.concurrent.ExecutorService getExeService()
Returns:

getRunnableList

public java.util.List<java.lang.Runnable> getRunnableList()
Returns:

removeConnection

public void removeConnection(ConnectionFileChanger conn)
                      throws java.io.IOException
Parameters:
conn -
Throws:
java.io.IOException

setWorkerList

public void setWorkerList(WorkerStatusList workerList)
Parameters:
workerList -