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.__init__ | ( | self, | |
log_file | |||
) |
Definition at line 14 of file ztee.py.
def ztee.GZipLog.finish | ( | self | ) |
Definition at line 70 of file ztee.py.
References fbuf.file, ztee.GZipLog.file, TkOfflineVariables.file, EcalRecHitsFilter.file, SiStripPlotGain.file, EcalBxOrbitNumberGrapher.file, SiStripCorrelateBadStripAndNoise.file, SiStripCorrelateNoise.file, DrawIteration::Input.file, EcalURecHitHists.file, GlobalTrackerMuonAlignment.file, EcalCosmicsHists.file, ztee.GZipLog.flush_block(), ztee.GZipLog.write(), ztee.GZipLog.zstream, and ztail.Decoder.zstream.
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, filterCSVwithJSON.copy, fbuf.file, ztee.GZipLog.file, TkOfflineVariables.file, EcalRecHitsFilter.file, SiStripPlotGain.file, EcalBxOrbitNumberGrapher.file, SiStripCorrelateBadStripAndNoise.file, SiStripCorrelateNoise.file, DrawIteration::Input.file, EcalURecHitHists.file, GlobalTrackerMuonAlignment.file, EcalCosmicsHists.file, 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, HLT_2024v10_cff.truncate, 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 mps_setup.append, ztee.GZipLog.block, ztee.GZipLog.block_size, and ztee.GZipLog.try_flush().
Referenced by ztee.GZipLog.finish(), pkg.AbstractPkg.generate(), and ztee.GZipLog.write_block().
def ztee.GZipLog.write_block | ( | self, | |
data | |||
) |
Definition at line 33 of file ztee.py.
References fbuf.file, ztee.GZipLog.file, TkOfflineVariables.file, EcalRecHitsFilter.file, SiStripPlotGain.file, EcalBxOrbitNumberGrapher.file, SiStripCorrelateBadStripAndNoise.file, SiStripCorrelateNoise.file, DrawIteration::Input.file, EcalURecHitHists.file, GlobalTrackerMuonAlignment.file, EcalCosmicsHists.file, ztee.GZipLog.write(), ztee.GZipLog.zstream, and ztail.Decoder.zstream.
Referenced by ztee.GZipLog.flush_block().
ztee.GZipLog.block |
Definition at line 21 of file ztee.py.
Referenced by ztee.GZipLog.flush_block(), and ztee.GZipLog.write().
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 python.rootplot.utilities.RootFile.cd(), ztee.GZipLog.finish(), ztee.GZipLog.flush_block(), python.rootplot.utilities.RootFile.get(), tfile.TFileService.stop(), core.VertexHistograms.VertexHistograms.write(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy.write(), and ztee.GZipLog.write_block().
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.finish(), ztee.GZipLog.flush_block(), and ztee.GZipLog.write_block().