Interface: IMonitoringOperations
Defined in: electron/managers/SiteManager.ts:85
Remarks
Defines the contract for monitoring operations that can be performed in coordination with site management. This allows loose coupling between the SiteManager and MonitorManager while enabling coordinated operations.
Interface for monitoring operations integration.
Properties
setHistoryLimit()
setHistoryLimit: (
limit
:number
) =>Promise
<void
>
Defined in: electron/managers/SiteManager.ts:93
Update the global history limit setting.
Parameters
limit
number
The new history limit value.
Returns
Promise
<void
>
A promise that resolves when the limit is updated.
setupNewMonitors()
setupNewMonitors: (
site
:Site
,newMonitorIds
:string
[]) =>Promise
<void
>
Defined in: electron/managers/SiteManager.ts:102
Set up monitoring for newly created monitors.
Parameters
site
The site containing new monitors.
newMonitorIds
string
[]
Array of new monitor IDs to set up.
Returns
Promise
<void
>
A promise that resolves when setup is complete.
startMonitoringForSite()
startMonitoringForSite: (
identifier
:string
,monitorId
:string
) =>Promise
<boolean
>
Defined in: electron/managers/SiteManager.ts:112
Start monitoring for a specific site and monitor.
Parameters
identifier
string
The site identifier.
monitorId
string
The monitor ID to start monitoring for.
Returns
Promise
<boolean
>
A promise that resolves to true if monitoring started, false otherwise.
stopMonitoringForSite()
stopMonitoringForSite: (
identifier
:string
,monitorId
:string
) =>Promise
<boolean
>
Defined in: electron/managers/SiteManager.ts:125
Stop monitoring for a specific site and monitor.
Parameters
identifier
string
The site identifier.
monitorId
string
The monitor ID to stop monitoring for.
Returns
Promise
<boolean
>
A promise that resolves to true if monitoring stopped, false otherwise.