C# Class CloudWatchMonitor.MonitorService

Afficher le fichier Open project: eleven41/CloudWatchMonitor Class Usage Examples

Méthodes publiques

Méthode Description
MonitorService ( ) : System
Run ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Méthode 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 méthode

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

MonitorService() public méthode

public MonitorService ( ) : System
Résultat System

OnStart() protected méthode

protected OnStart ( string args ) : void
args string
Résultat void

OnStop() protected méthode

protected OnStop ( ) : void
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void