toxTree.io.batch
Interface IBatchProcessing
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- BatchProcessing, ChemObjectBatchProcessing, ToxTreeBatchProcessing
public interface IBatchProcessing
- extends java.io.Serializable
Interface for batch processing
- Author:
- Nina Jeliazkova
Modified 2005-9-4
start
void start()
throws BatchProcessingException
- Throws:
BatchProcessingException
pause
void pause()
throws BatchProcessingException
- Throws:
BatchProcessingException
cancel
void cancel()
throws BatchProcessingException
- Throws:
BatchProcessingException
close
void close()
throws BatchProcessingException
- Throws:
BatchProcessingException
saveConfig
void saveConfig()
throws BatchProcessingException
- Throws:
BatchProcessingException
loadConfig
void loadConfig()
throws BatchProcessingException
- Throws:
BatchProcessingException
processRecord
void processRecord()
throws BatchProcessingException
- Throws:
BatchProcessingException
readRecord
void readRecord()
throws BatchProcessingException
- Throws:
BatchProcessingException
writeRecord
void writeRecord()
throws BatchProcessingException
- Throws:
BatchProcessingException
hasNextRecord
boolean hasNextRecord()
getReadRecordsCount
long getReadRecordsCount()
getWrittenRecordsCount
long getWrittenRecordsCount()
setConfigFile
void setConfigFile(java.io.File configFile)
openInputFile
void openInputFile()
throws BatchProcessingException
- Throws:
BatchProcessingException
createOutputFile
void createOutputFile()
throws BatchProcessingException
- Throws:
BatchProcessingException
closeInputFile
void closeInputFile()
throws BatchProcessingException
- Throws:
BatchProcessingException
closeOutputFile
void closeOutputFile()
throws BatchProcessingException
- Throws:
BatchProcessingException
isRunning
boolean isRunning()
isPaused
boolean isPaused()
isCancelled
boolean isCancelled()
getDateCreated
java.util.Date getDateCreated()
- Returns:
Date
when batch job was first created
getDateLastProcessed
java.util.Date getDateLastProcessed()
- Returns:
Date
when batch job was processed last
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.