Public Member Functions | |
def | __init__ |
def | all |
def | peek |
def | process |
Public Attributes | |
begin_time | |
delay | |
queue | |
reorder |
FIFO of error messages. Errors are delayed by <delay> seconds. If reorder is True, will sort Errors using timestamps. If reorder is not True, expects input to be perfectly ordered.
Definition at line 71 of file diag_error.py.
def diag_error.ErrorDelay.__init__ | ( | self, | |
delay, | |||
reorder = False |
|||
) |
Definition at line 76 of file diag_error.py.
def diag_error.ErrorDelay.all | ( | self | ) |
Return all values and in queue
Definition at line 104 of file diag_error.py.
def diag_error.ErrorDelay.peek | ( | self | ) |
Returns first error in queue
Definition at line 108 of file diag_error.py.
def diag_error.ErrorDelay.process | ( | self, | |
input_list | |||
) |
Takes input list of error messages and returns output list of delayed messages
Definition at line 82 of file diag_error.py.
Definition at line 76 of file diag_error.py.
Definition at line 76 of file diag_error.py.
Definition at line 76 of file diag_error.py.
Definition at line 76 of file diag_error.py.