HS.Util.MirrorMonitorAgent
abstract class HS.Util.MirrorMonitorAgent
TODO: Move this class to HealthConnect.SystemConfig once service registry is refactored to its own module. Cannot be done now as service registry is in HealthConnect.Common and this code depends on REST client which depends on Service Registry and both live in HealthConnect.Common so that would cause a cyclic dependency.Method Inventory
Methods
classmethod StartAgent()
Start running the background job which checks for pending configuration steps
to run and runs them.
@API.Method
@API.Method
Stop running the background job which checks for pending configuration steps.
Returns 1 if job stopped, 0 if it failed to stop.
@API.Method
@Argument pWait Number of seconds to wait for agent to stop.
Returns 1 if job stopped, 0 if it failed to stop.
@API.Method
@Argument pWait Number of seconds to wait for agent to stop.