C# 클래스 GSF.IO.OutageLogProcessor

Represents a thread-safe OutageLog processor that will operate on each Outage with a consumer provided function on independent threads.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all the resources used by the OutageLogProcessor object.

OutageLogProcessor ( OutageLog outageLog, Action processOutageFunction, bool>.Func canProcessOutageFunction, Action processExceptionHandler, int processingInterval ) : System

Creates a OutageLogProcessor using a pre-initialized OutageLog.

보호된 메소드들

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

Releases the unmanaged resources used by the OutageLogProcessor object and optionally releases the managed resources.

비공개 메소드들

메소드 설명
ProcessNextItem ( ) : void
outageLog_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

메소드 상세

Dispose() 공개 메소드

Releases all the resources used by the OutageLogProcessor object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the OutageLogProcessor object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

OutageLogProcessor() 공개 메소드

Creates a OutageLogProcessor using a pre-initialized OutageLog.
public OutageLogProcessor ( OutageLog outageLog, Action processOutageFunction, bool>.Func canProcessOutageFunction, Action processExceptionHandler, int processingInterval ) : System
outageLog OutageLog Pre-initialized to process.
processOutageFunction Action A delegate that defines a processing function for an .
canProcessOutageFunction bool>.Func A delegate that determines if an can currently be processed.
processExceptionHandler Action Delegate to handle any exceptions encountered while processing as .
processingInterval int Processing interval, in milliseconds.
리턴 System