C# 클래스 NCloudWatch.CloudWatchService

상속: IDisposable
파일 보기 프로젝트 열기: sklose/NCloudWatch 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Dispose void
LoadPerformanceCounter void
RegisterMetricForProcessing void
ReportMetric void

공개 메소드들

메소드 설명
AddMetric ( Metric metric ) : void

Adds the specified metric.

CloudWatchService ( ) : System

Initializes a new instance of the CloudWatchService class.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetMetrics ( ) : Metric[]

Gets all metrics.

RemoveMetric ( string metricName ) : void

Removes the metric with the specified metricName.

SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void

Sets the Amazon Web Services credentials.

Start ( ) : void

Starts collecting and uploading metrics.

Stop ( ) : void

Stops collecting and uploading metrics.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

LoadPerformanceCounter ( PerformanceCounterDescription performanceCounter ) : void
RegisterMetricForProcessing ( Metric metric ) : void
ReportMetric ( object state, bool timeout ) : void

Reports the metric that is defined by state to the Amazon CloudWatch service.

메소드 상세

AddMetric() 공개 메소드

Adds the specified metric.
is null. A with the same name already exists.
public AddMetric ( Metric metric ) : void
metric Metric The metric.
리턴 void

CloudWatchService() 공개 메소드

Initializes a new instance of the CloudWatchService class.
public CloudWatchService ( ) : System
리턴 System

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

GetMetrics() 공개 메소드

Gets all metrics.
public GetMetrics ( ) : Metric[]
리턴 Metric[]

RemoveMetric() 공개 메소드

Removes the metric with the specified metricName.
public RemoveMetric ( string metricName ) : void
metricName string Name of the metric.
리턴 void

SetAwsCredentials() 공개 메소드

Sets the Amazon Web Services credentials.
public SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void
accessKeyId string The access key id.
secretAccessKey string The secret access key.
리턴 void

Start() 공개 메소드

Starts collecting and uploading metrics.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops collecting and uploading metrics.
public Stop ( ) : void
리턴 void