C# 클래스 Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.MetricsEventManager

상속: IDisposable
파일 보기 프로젝트 열기: Azure/azure-webjobs-sdk-script 1 사용 예제들

공개 메소드들

메소드 설명
BeginEvent ( string eventName ) : object
Dispose ( ) : void
EndEvent ( object eventHandle ) : void
LogEvent ( string eventName ) : void
MetricsEventManager ( ScriptSettingsManager settingsManager, IEventGenerator generator, int functionActivityFlushIntervalSeconds, int metricsFlushIntervalMS = DefaultFlushIntervalMS ) : System

보호된 메소드들

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

Flush any queued events to event source immediately.

This method may run concurrently with itself so ensure there are no unintended side effects or race conditions within the implementation.

WriteMetricEvents ( SystemMetricEvent metricEvents ) : void

비공개 메소드들

메소드 설명
FunctionCompleted ( FunctionStartedEvent completedEvent ) : void
FunctionStarted ( FunctionStartedEvent startedEvent ) : void
GetNormalizedString ( string input ) : string
HostStarted ( ScriptHost scriptHost ) : void
SerializeBindings ( IEnumerable bindings ) : string

메소드 상세

BeginEvent() 공개 메소드

public BeginEvent ( string eventName ) : object
eventName string
리턴 object

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndEvent() 공개 메소드

public EndEvent ( object eventHandle ) : void
eventHandle object
리턴 void

LogEvent() 공개 메소드

public LogEvent ( string eventName ) : void
eventName string
리턴 void

MetricsEventManager() 공개 메소드

public MetricsEventManager ( ScriptSettingsManager settingsManager, IEventGenerator generator, int functionActivityFlushIntervalSeconds, int metricsFlushIntervalMS = DefaultFlushIntervalMS ) : System
settingsManager Microsoft.Azure.WebJobs.Script.Config.ScriptSettingsManager
generator IEventGenerator
functionActivityFlushIntervalSeconds int
metricsFlushIntervalMS int
리턴 System

TimerFlush() 보호된 메소드

Flush any queued events to event source immediately.
This method may run concurrently with itself so ensure there are no unintended side effects or race conditions within the implementation.
protected TimerFlush ( object state ) : void
state object
리턴 void

WriteMetricEvents() 보호된 메소드

protected WriteMetricEvents ( SystemMetricEvent metricEvents ) : void
metricEvents SystemMetricEvent
리턴 void