C# Class Xnlab.SQLMon.Logic.MonitorEngine

Mostra file Open project: unruledboy/SQLMonitor Class Usage Examples

Public Methods

Method Description
AddUserPerformanceItem ( ServerInfo server, bool isServer ) : void
CheckPerformance ( ) : void
CheckServerHealth ( ) : void
DisablePerformance ( ) : void
MonitorEngine ( ) : System
RemoveUserPerformanceItem ( ServerInfo server, bool isServer ) : void
SetMonitorInterval ( string Interval ) : void
SetPerformanceInterval ( string Interval ) : void

Private Methods

Method Description
CheckMonitorItems ( ) : void
CheckPerformanceItem ( ServerInfo server, bool isServer ) : void
IsNotified ( Xnlab.SQLMon.Logic.MonitorItem item, string Key, string runtimeValue, string message, Xnlab.SQLMon.Logic.NotifiedMonitorItem &notified ) : bool
IsTextMatch ( string content, string pattern ) : bool
OnError ( Exception ex ) : void
OnMonitorRefreshTick ( object sender ) : void
OnPerformanceRefreshTick ( object sender ) : void
OnUpdateServerInfo ( PerformanceRecord Record, ServerInfo server, bool isServer ) : void
ShowAlert ( Xnlab.SQLMon.Logic.MonitorItem item, string key, string currentValue ) : void

Method Details

AddUserPerformanceItem() public method

public AddUserPerformanceItem ( ServerInfo server, bool isServer ) : void
server ServerInfo
isServer bool
return void

CheckPerformance() public method

public CheckPerformance ( ) : void
return void

CheckServerHealth() public method

public CheckServerHealth ( ) : void
return void

DisablePerformance() public method

public DisablePerformance ( ) : void
return void

MonitorEngine() public method

public MonitorEngine ( ) : System
return System

RemoveUserPerformanceItem() public method

public RemoveUserPerformanceItem ( ServerInfo server, bool isServer ) : void
server ServerInfo
isServer bool
return void

SetMonitorInterval() public method

public SetMonitorInterval ( string Interval ) : void
Interval string
return void

SetPerformanceInterval() public method

public SetPerformanceInterval ( string Interval ) : void
Interval string
return void