insensa.inforeader
Class CInfoReaderThreadPool
java.lang.Object
insensa.inforeader.CInfoReaderThreadPool
public class CInfoReaderThreadPool
- 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
threadList
private java.util.List<java.lang.Runnable> threadList
depChecker
private DependencyChecker depChecker
CInfoReaderThreadPool
public CInfoReaderThreadPool(DependencyChecker depChecker)
- Parameters:
depChecker
-
addInfoThread
public void addInfoThread(java.lang.Runnable threadObject)
- Parameters:
threadObject
-
executeThread
public void executeThread(CRasterFileInformation rasterFile,
InfoReader iReader,
WorkerStatusList workerStatusList)
throws java.io.IOException
- Parameters:
rasterFile
- iReader
- workerStatusList
-
- Throws:
java.io.IOException
executeThreads
public void executeThreads(CRasterFileInformation rasterFile,
java.util.List<InfoReader> iReader,
WorkerStatusList workerStatusList)
throws java.io.IOException
- Parameters:
rasterFile
- iReader
- workerStatusList
-
- Throws:
java.io.IOException
executeThreads
public void executeThreads(CRasterFileInformation rasterFile,
WorkerStatusList workerStatusList)
throws java.io.IOException
- Parameters:
rasterFile
- workerStatusList
-
- Throws:
java.io.IOException
getRunnableDepList
private java.util.List<java.lang.Runnable> getRunnableDepList(CRasterFileInformation rasterFile,
InfoReader iReader)
- Parameters:
rasterFile
- iReader
-
- Returns:
removeInfoReader
public void removeInfoReader(InfoReader iReader)
throws java.io.IOException
- Parameters:
iReader
-
- Throws:
java.io.IOException