C# 클래스 Amazon.Runtime.Internal.Util.RequestMetrics

상속: IRequestMetrics
파일 보기 프로젝트 열기: scopely/aws-sdk-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddProperty void
GetErrors string
IncrementCounter void
Log void
Log void
LogError_Locked void
LogHelper void
ObjectToString string
RequestMetrics System
SetCounter void
StartEvent TimingEvent
StopEvent Timing

공개 메소드들

메소드 설명
ToString ( ) : string

Returns a string representation of the current metrics.

비공개 메소드들

메소드 설명
AddProperty ( Metric metric, object property ) : void

Adds a property for a metric. If there are multiple, the object is added as a new item in a list.

GetErrors ( ) : string

Returns errors associated with the metric, including if there are still any timing events in-flight.

IncrementCounter ( Metric metric ) : void

Increments a specific metric counter. If counter doesn't exist yet, it is set to 1.

Log ( StringBuilder builder, Metric metric, List metricValues ) : void
Log ( StringBuilder builder, Metric metric, object metricValue ) : void
LogError_Locked ( Metric metric, string messageFormat ) : void
LogHelper ( StringBuilder builder, Metric metric ) : void
ObjectToString ( object data ) : string
RequestMetrics ( ) : System

Constructs an empty, disabled metrics object

SetCounter ( Metric metric, long value ) : void

Sets a counter for a specific metric.

StartEvent ( Metric metric ) : TimingEvent

Starts timing an event. Logs an exception if an event of the same type was started but not stopped.

StopEvent ( Metric metric ) : Timing

Stops timing an event. Logs an exception if the event wasn't started.

메소드 상세

ToString() 공개 메소드

Returns a string representation of the current metrics.
public ToString ( ) : string
리턴 string