Skip to main content

HS.Util.MirrorMonitorAgent

abstract class HS.Util.MirrorMonitorAgent

Method Inventory

Methods

classmethod Background()
This runs in HSSYS
classmethod GetMirrorDBList(Output pDBArray) as %String
classmethod GetPrimaryConnectInfo(Output pLocation As %String, Output pUserCredentials As %String, Output pSSLConfig As %String) as %Status
classmethod IsUpToDate() as %Boolean
classmethod Log(pDatabase, pStep, pIsError As %Boolean, pMethod As %String, pMessage As %String)
classmethod ManageInstanceGUID()
classmethod Poll() as %Integer
Returns the hang time to be used between consecutive polls
classmethod RunMethodInProvidedNamespace(pNamespace As %String, pMethodName As %String, pArguments...) as %Status
classmethod StartAgent()
Called from OnStartHealthShare in %ZHSLIB.HealthShareMgr, and also from the HealthShare mirror monitor UI
classmethod StopAgent(pWait=60) as %Boolean
Input how long to wait for it to stop Outputs 1 if OK, 0 if it won't stop
classmethod UpToDateWait() as %Status
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 tab