Continuous Load
The ContinuousUDSource
, ContinuousUDFilter
, and ContinuousUDParser
classes allow you to write and process data as needed instead of having to iterate through the data.
Each class includes the following functions:
initialize()
- Invoked beforerun()
. You can optionally override this function to perform setup and initialization.run()
- Processes the data.deinitialize()
- Invoked afterrun()
has returned. You can optionally override this function to perform tear-down and destruction.
Do not override the setup()
, process()
, and destroy()
functions that are inherited from parent classes.
You can use the yield()
function to yield control back to the server during idle or busy loops so the server can check for status changes or query cancellations.
These three classes use associated ContinuousReader
and ContinuousWriter
classes to read input data and write output data.