hpcflow.sdk.helper.watcher.MonitorController#
- class hpcflow.sdk.helper.watcher.MonitorController(workflow_dirs_file_path, watch_interval, logger)#
Bases:
object
Controller for tracking watch files.
Methods
Join the worker thread.
Callback when files are modified.
Parse the file describing what workflows to watch.
Stop this monitor.
- join()#
Join the worker thread.
- on_modified(event)#
Callback when files are modified.
- static parse_watch_workflows_file(path, logger)#
Parse the file describing what workflows to watch.
- stop()#
Stop this monitor.