insensa.inforeader
Class CMultipleFileInfoReaderThreadPool

java.lang.Object
  extended by insensa.inforeader.CMultipleFileInfoReaderThreadPool

public class CMultipleFileInfoReaderThreadPool
extends java.lang.Object


Field Summary
private  java.util.Map<CRasterFileInformation,DependencyChecker> depMap
           
private  java.util.concurrent.ExecutorService exeService
           
private  java.util.Map<CRasterFileInformation,java.util.List<java.lang.Runnable>> runnableMap
           
 
Constructor Summary
CMultipleFileInfoReaderThreadPool()
           
 
Method Summary
 void addInfoThread(CRasterFileInformation rasterFile, java.lang.Runnable threadObject)
           
 void executeThreads(java.util.List<CRasterFileInformation> rasterFileList, java.util.List<WorkerStatusList> workerStatusListList)
           
 java.util.concurrent.ExecutorService getExeService()
           
 void removeInfoReader(CRasterFileInformation rasterFile, InfoReader iReader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

depMap

private java.util.Map<CRasterFileInformation,DependencyChecker> depMap

runnableMap

private java.util.Map<CRasterFileInformation,java.util.List<java.lang.Runnable>> runnableMap

exeService

private java.util.concurrent.ExecutorService exeService
Constructor Detail

CMultipleFileInfoReaderThreadPool

public CMultipleFileInfoReaderThreadPool()
Method Detail

addInfoThread

public void addInfoThread(CRasterFileInformation rasterFile,
                          java.lang.Runnable threadObject)
Parameters:
rasterFile -
threadObject -

executeThreads

public void executeThreads(java.util.List<CRasterFileInformation> rasterFileList,
                           java.util.List<WorkerStatusList> workerStatusListList)
                    throws java.io.IOException
Parameters:
rasterFileList -
workerStatusListList -
Throws:
java.io.IOException

getExeService

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

removeInfoReader

public void removeInfoReader(CRasterFileInformation rasterFile,
                             InfoReader iReader)
                      throws java.io.IOException
Parameters:
rasterFile -
iReader -
Throws:
java.io.IOException