Interface: IMonitoringOperations
Defined in: electron/managers/SiteManager.types.ts:33
Defines the contract for monitoring operations that can be performed in coordination with site management.
Remarks
This allows loose coupling between the SiteManager and MonitorManager while still enabling coordinated operations.
Properties
setHistoryLimit()
setHistoryLimit: (
limit:number) =>Promise<void>
Defined in: electron/managers/SiteManager.types.ts:39
Update the global history limit setting.
Parameters
limit
number
The new history limit value.
Returns
Promise<void>
setupNewMonitors()
setupNewMonitors: (
site:Site,newMonitorIds:string[]) =>Promise<void>
Defined in: electron/managers/SiteManager.types.ts:47
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>
startMonitoringForSite()
startMonitoringForSite: (
identifier:string,monitorId:string) =>Promise<boolean>
Defined in: electron/managers/SiteManager.types.ts:55
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>
stopMonitoringForSite()
stopMonitoringForSite: (
identifier:string,monitorId:string) =>Promise<boolean>
Defined in: electron/managers/SiteManager.types.ts:66
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>