This module has two basic implementation of IJobResult: MemoryJobResult and DiskJobResult.
A IJobResult that keeps IO logs on disk.
This type of JobResult is intended for working with most results. It does not store IO logs in memory so it is scalable to arbitrary IO log sizes. Each instance just knows where the log file is located (using the ‘io_log_filename’ attribute for that) and offers streaming API for accessing particular parts of the log.
Subclass of GzipFile that works around missing read1() on python3.2
IOLogRecord(delay, stream_name, data)
Alias for field number 2
Alias for field number 0
Alias for field number 1
Class for streaming :class`IOLogRecord` instances from a text stream
Read the next record from the stream.
Returns: | None if the stream is empty |
---|---|
Returns: | next IOLogRecord as found in the stream. |
Class for writing IOLogRecord instances to a text stream
Write an IOLogRecord to the stream.