Home > Class Reference > HSLIB namespace > HS.Util.MirrorMonitorAgent

HS.Util.MirrorMonitorAgent

abstract class HS.Util.MirrorMonitorAgent

Method Inventory

Methods

classmethod Background() [ Language = objectscript ]
This runs in HSSYS
classmethod GetMirrorDBList(Output pDBArray) as %String [ Language = objectscript ]
classmethod GetPrimaryConnectInfo(Output pLocation As %String, Output pUserCredentials As %String, Output pSSLConfig As %String) as %Status [ Language = objectscript ]
classmethod IsUpToDate() as %Boolean [ Language = objectscript ]
classmethod Log(pDatabase, pStep, pIsError As %Boolean, pMethod As %String, pMessage As %String) [ Language = objectscript ]
classmethod ManageInstanceGUID() [ Language = objectscript ]
classmethod Poll() as %Integer [ Language = objectscript ]
Returns the hang time to be used between consecutive polls
classmethod StartAgent() [ Language = objectscript ]
Called from OnStartHealthShare in %ZHSLIB.HealthShareMgr, and also from the HealthShare mirror monitor UI
classmethod StopAgent(pWait=60) as %Boolean [ Language = objectscript ]
Input how long to wait for it to stop Outputs 1 if OK, 0 if it won't stop
classmethod UpToDateWait() as %Status [ Language = objectscript ]
This could be run at system startup and when becoming primary. If the primary has any pending system api tasks to complete, it needs to wait until these have been done For now, we don't do it, since we may want to allow the user access to the system to activate productions, use the mirror monitor, etc.
FeedbackOpens in a new window