ecflow.CheckPt

class ecflow.CheckPt

Bases: enum

CheckPt is enum that is used to control check pointing in the ecflow_server

  • NEVER : Switches of check pointing

  • ON_TIME: check point file is saved periodically, specified by checkPtInterval. This is the default.

  • ALWAYS : check point file is saved after any state change, not recommended for large definitions

  • UNDEFINED : None of the the above, used to provide default argument

CheckPt.ALWAYS = ecflow.CheckPt.ALWAYS
CheckPt.NEVER = ecflow.CheckPt.NEVER
CheckPt.ON_TIME = ecflow.CheckPt.ON_TIME
CheckPt.UNDEFINED = ecflow.CheckPt.UNDEFINED
CheckPt.names = {'ALWAYS': ecflow.CheckPt.ALWAYS, 'NEVER': ecflow.CheckPt.NEVER, 'ON_TIME': ecflow.CheckPt.ON_TIME, 'UNDEFINED': ecflow.CheckPt.UNDEFINED}
CheckPt.values = {0: ecflow.CheckPt.NEVER, 1: ecflow.CheckPt.ON_TIME, 2: ecflow.CheckPt.ALWAYS, 3: ecflow.CheckPt.UNDEFINED}