Public Member Functions | |
def | __init__ (self, log_file) |
def | finish (self) |
def | flush_block (self) |
def | handle_timeout (self) |
def | try_flush (self) |
def | write (self, bytes) |
def | write_block (self, data) |
Public Attributes | |
block | |
block_size | |
block_size_max | |
block_timeout | |
file | |
file_max_size | |
file_min_size | |
file_truncate_pos | |
file_truncate_state | |
last_flush | |
zstream | |
def ztee.GZipLog.finish | ( | self | ) |
Definition at line 70 of file ztee.py.
References fbuf.file, ztee.GZipLog.file, TkOfflineVariables.file, EcalRecHitsFilter.file, EcalBxOrbitNumberGrapher.file, SiStripPlotGain.file, SiStripCorrelateBadStripAndNoise.file, EcalURecHitHists.file, DrawIteration::Input.file, SiStripCorrelateNoise.file, GlobalTrackerMuonAlignment.file, EcalCosmicsHists.file, and ztee.GZipLog.flush_block().
Referenced by progressbar.ProgressBar.__next__().
def ztee.GZipLog.flush_block | ( | self | ) |
Definition at line 37 of file ztee.py.
References ztee.GZipLog.block, ztee.GZipLog.block_size, ztee.GZipLog.file_max_size, ztee.GZipLog.file_min_size, ztee.GZipLog.file_truncate_pos, ztee.GZipLog.file_truncate_state, join(), ztee.GZipLog.last_flush, ztee.GZipLog.write_block(), ztee.GZipLog.zstream, and ztail.Decoder.zstream.
Referenced by ztee.GZipLog.finish(), and ztee.GZipLog.try_flush().
def ztee.GZipLog.handle_timeout | ( | self | ) |
Definition at line 90 of file ztee.py.
References ztee.GZipLog.try_flush().
Referenced by esMonitoring.AsyncLineReaderTimeoutMixin.readable().
def ztee.GZipLog.try_flush | ( | self | ) |
Definition at line 76 of file ztee.py.
References ztee.GZipLog.block_size, ztee.GZipLog.block_size_max, ztee.GZipLog.block_timeout, ztee.GZipLog.flush_block(), and ztee.GZipLog.last_flush.
Referenced by ztee.GZipLog.handle_timeout(), and ztee.GZipLog.write().
def ztee.GZipLog.write | ( | self, | |
bytes | |||
) |
Definition at line 83 of file ztee.py.
References ztee.GZipLog.block_size, and ztee.GZipLog.try_flush().
Referenced by pkg.AbstractPkg.generate().
def ztee.GZipLog.write_block | ( | self, | |
data | |||
) |
ztee.GZipLog.block |
Definition at line 21 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.block_size |
Definition at line 22 of file ztee.py.
Referenced by ztee.GZipLog.flush_block(), ztee.GZipLog.try_flush(), and ztee.GZipLog.write().
ztee.GZipLog.block_size_max |
Definition at line 23 of file ztee.py.
Referenced by ztee.GZipLog.try_flush().
ztee.GZipLog.block_timeout |
Definition at line 24 of file ztee.py.
Referenced by ztee.GZipLog.try_flush().
ztee.GZipLog.file |
Definition at line 15 of file ztee.py.
Referenced by ztee.GZipLog.finish().
ztee.GZipLog.file_max_size |
Definition at line 28 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.file_min_size |
Definition at line 27 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.file_truncate_pos |
Definition at line 30 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.file_truncate_state |
Definition at line 31 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.last_flush |
Definition at line 17 of file ztee.py.
Referenced by ztee.GZipLog.flush_block(), and ztee.GZipLog.try_flush().
ztee.GZipLog.zstream |
Definition at line 18 of file ztee.py.
Referenced by ztee.GZipLog.flush_block().