C# 클래스 Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager

Manages performance counters using Windows performance counters.
상속: IPerformanceCounterManager
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCounterPropertyInfo System.Reflection.PropertyInfo[]
GetPerformanceCounterAttribute PerformanceCounterAttribute
InitNoOpCounters void
LoadCounter IPerformanceCounter
LoadCounter IPerformanceCounter
SanitizeInstanceName string
SetCounterProperties void
UnloadCounters void

공개 메소드들

메소드 설명
Initialize ( string instanceName, CancellationToken hostShutdownToken ) : void

Initializes the performance counters.

PerformanceCounterManager ( ) : System
PerformanceCounterManager ( DefaultDependencyResolver resolver ) : System
PerformanceCounterManager ( ITraceManager traceManager ) : System

Creates a new instance.

비공개 메소드들

메소드 설명
GetCounterPropertyInfo ( ) : System.Reflection.PropertyInfo[]
GetPerformanceCounterAttribute ( PropertyInfo property ) : PerformanceCounterAttribute
InitNoOpCounters ( ) : void
LoadCounter ( string categoryName, string counterName, bool isReadOnly ) : IPerformanceCounter
LoadCounter ( string categoryName, string counterName, string instanceName, bool isReadOnly ) : IPerformanceCounter
SanitizeInstanceName ( string instanceName ) : string
SetCounterProperties ( ) : void
UnloadCounters ( ) : void

메소드 상세

Initialize() 공개 메소드

Initializes the performance counters.
public Initialize ( string instanceName, CancellationToken hostShutdownToken ) : void
instanceName string The host instance name.
hostShutdownToken System.Threading.CancellationToken The CancellationToken representing the host shutdown.
리턴 void

PerformanceCounterManager() 공개 메소드

public PerformanceCounterManager ( ) : System
리턴 System

PerformanceCounterManager() 공개 메소드

public PerformanceCounterManager ( DefaultDependencyResolver resolver ) : System
resolver DefaultDependencyResolver
리턴 System

PerformanceCounterManager() 공개 메소드

Creates a new instance.
public PerformanceCounterManager ( ITraceManager traceManager ) : System
traceManager ITraceManager
리턴 System