public interface DCStreamHandler extends DataReceiverIfc, DataProviderIfc, FileDataProviderIfc, FileDataReceiverIfc
Modifier and Type | Method and Description |
---|---|
boolean |
cleanup()
Performs any necessary cleanup desired, such as deleting files
that have been processed.
|
void |
createNewCacheFile() |
DCNodePerformance |
getPerformanceMetrics()
Returns a DCNodePerformance object containing node performance
data.
|
void |
moveToReadyToOut(boolean initNew)
Make cache file as ready to moveToOutput()
|
DCFieldContainer[] |
readBulkData()
Reads a set of DCFieldContainer objects from this
DataProvider.
|
DCFieldContainer |
readData()
Reads a DCFieldContainer object from this DataProvider
|
void |
shutdown()
Performs any tasks necessary to cleanly shutdown the input and
output streams of the stream handler, as appropriate
|
void |
shutdownInput()
Performs any tasks necessary to cleanly shutdown the input stream
of the stream handler
|
void |
shutdownOutput()
Performs any tasks necessary to cleanly shutdown the output stream
of the stream handler
|
boolean |
writeData(DCFieldContainer datum)
Stores information into a DCFieldContainer object
|
boolean |
writeData(DCFieldContainer[] data)
Stores information into multiple DCFieldContainer objects
|
dataIsAvailable, getDataProvider, processData, processData, setDataProvider
getBulkData, getData, getDataReceiver, isDataAvailable, setDataReceiver
getFileBulkData, getFileData, getFileDataReceiver, handleRejectOfFile, isEndOfFile, isFileDataAvailable, isStartOfFile, openInputFile, rejectFile, setFileDataReceiver
fileDataIsAvailable, getFileDataProvider, processEndOfFileData, processFileData, processFileData, processRejectFile, processStartOfFileData, setFileDataProvider, setTransactionID
DCFieldContainer readData()
DCFieldContainer[] readBulkData()
boolean writeData(DCFieldContainer datum)
datum
- Object to put the information intotrue
, if the data was successfully
written to the objectboolean writeData(DCFieldContainer[] data)
true
, if the data was successfully
written to the objectDCNodePerformance getPerformanceMetrics()
boolean cleanup()
void shutdown()
void shutdownInput()
void shutdownOutput()
void moveToReadyToOut(boolean initNew)
void createNewCacheFile()