C# Class CloudWatchMonitor.MonitorService

Mostra file Open project: eleven41/CloudWatchMonitor Class Usage Examples

Public Methods

Method Description
MonitorService ( ) : System
Run ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
AddDriveMetrics ( System drive, List metrics ) : void
CreateClient ( ) : IAmazonCloudWatch
Error ( string message ) : void
Info ( string message ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PopulateInstanceId ( ) : bool
PopulateRegion ( ) : bool
ReadBoolean ( string name, bool defaultValue ) : bool
ReadInt ( string name, int defaultValue ) : int
ReadString ( string name, string defaultValue ) : string
ReadStringList ( string name, List defaultValue ) : List
SubmitMemoryMetrics ( List metrics ) : void
UpdateMetrics ( ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MonitorService() public method

public MonitorService ( ) : System
return System

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

Run() public method

public Run ( ) : void
return void