insensa.connections
Class CConnectionThreadPool
java.lang.Object
insensa.connections.CConnectionThreadPool
public class CConnectionThreadPool
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exeService
private java.util.concurrent.ExecutorService exeService
runnableList
private java.util.List<java.lang.Runnable> runnableList
workerList
private WorkerStatusList workerList
CConnectionThreadPool
public CConnectionThreadPool()
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
-