Module Assign NameStore Str Import alias Import alias ImportFrom alias ClassDef bases body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpDiv Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body While Num body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A doc Base class for common functionality when monitoring process state changes
 N/A os N/A sys supervisor childutils ProcessStateMonitor N/A N/A N/A process_state_events N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A self interval N/A N/A kwargs get interval 1.0 N/A N/A self debug N/A N/A kwargs get debug False N/A N/A self stdin N/A N/A kwargs get stdin N/A sys stdin N/A N/A self stdout N/A N/A kwargs get stdout N/A sys stdout N/A N/A self stderr N/A N/A kwargs get stderr N/A sys stderr N/A N/A self eventname N/A N/A kwargs get eventname TICK_60 N/A N/A self tickmins N/A N/A self _get_tick_mins N/A self eventname N/A N/A self batchmsgs N/A N/A N/A self batchmins 0.0 N/A _get_tick_mins N/A N/A self eventname N/A N/A N/A N/A N/A float N/A N/A self _get_tick_secs eventname 60.0 N/A _get_tick_secs N/A N/A self eventname N/A N/A N/A N/A N/A self _validate_tick_name eventname N/A N/A int N/A N/A N/A eventname split _ N/A 1 N/A _validate_tick_name N/A N/A self eventname N/A N/A N/A N/A N/A N/A eventname startswith TICK_ N/A N/A N/A ValueError N/A Invalid TICK event name: %s eventname N/A run N/A N/A self N/A N/A N/A 1 N/A N/A N/A hdrs payload N/A N/A N/A childutils listener wait N/A self stdin N/A self stdout N/A N/A N/A self handle_event hdrs payload N/A N/A N/A N/A childutils listener ok N/A self stdout N/A handle_event N/A N/A self headers payload N/A N/A N/A N/A N/A headers N/A eventname N/A self process_state_events N/A N/A N/A N/A self handle_process_state_change_event headers payload N/A N/A N/A N/A headers N/A eventname N/A self eventname N/A N/A N/A N/A self handle_tick_event headers payload N/A handle_process_state_change_event N/A N/A self headers payload N/A N/A N/A msg N/A N/A self get_process_state_change_msg headers payload N/A msg N/A N/A N/A N/A self write_stderr N/A %s
 msg N/A N/A N/A N/A self batchmsgs append msg N/A N/A 
    Override this method in child classes to customize messaging
     get_process_state_change_msg N/A N/A self headers payload N/A N/A N/A None N/A handle_tick_event N/A N/A self headers payload N/A N/A N/A N/A self batchmins N/A self tickmins N/A N/A N/A self batchmins N/A self interval N/A N/A N/A N/A self send_batch_notification N/A N/A N/A self clear_batch N/A N/A 
    Override this method in child classes to send notification
     send_batch_notification N/A N/A self N/A N/A N/A N/A get_batch_minutes N/A N/A self N/A N/A N/A N/A self batchmins N/A get_batch_msgs N/A N/A self N/A N/A N/A N/A self batchmsgs N/A clear_batch N/A N/A self N/A N/A N/A N/A self batchmins 0.0 N/A N/A self batchmsgs N/A N/A write_stderr N/A N/A self msg N/A N/A N/A N/A N/A N/A self stderr write msg N/A N/A N/A N/A self stderr flush N/A N/A