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

Join the worker thread.

on_modified

Callback when files are modified.

parse_watch_workflows_file

Parse the file describing what workflows to watch.

stop

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.