C# 클래스 GSF.Snap.Services.Writer.RolloverLogFile

Logs the rollover process so that it can be properly finished in the event of a power outage or process crash
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DestinationFile System.Guid
FileName string
IsValid bool
SourceFiles List

공개 메소드들

메소드 설명
Delete ( ) : void

Deletes the file associated with this ArchiveLog

Recover ( ArchiveList list ) : void

Recovers this rollover during an application crash.

RolloverLogFile ( string fileName ) : GSF.Diagnostics

Resumes a rollover log

RolloverLogFile ( string fileName, List sourceFiles, System.Guid destinationFile ) : GSF.Diagnostics

Creates a new rollover log

비공개 메소드들

메소드 설명
RolloverLogFile ( ) : GSF.Diagnostics

메소드 상세

Delete() 공개 메소드

Deletes the file associated with this ArchiveLog
public Delete ( ) : void
리턴 void

Recover() 공개 메소드

Recovers this rollover during an application crash.
public Recover ( ArchiveList list ) : void
list ArchiveList
리턴 void

RolloverLogFile() 공개 메소드

Resumes a rollover log
public RolloverLogFile ( string fileName ) : GSF.Diagnostics
fileName string the name of the log file to load.
리턴 GSF.Diagnostics

RolloverLogFile() 공개 메소드

Creates a new rollover log
public RolloverLogFile ( string fileName, List sourceFiles, System.Guid destinationFile ) : GSF.Diagnostics
fileName string the name of the file to save
sourceFiles List the source files in the rollover process
destinationFile System.Guid the destination file in the rollover process.
리턴 GSF.Diagnostics

프로퍼티 상세

DestinationFile 공개적으로 프로퍼티

Gets the destination file
public Guid,System DestinationFile
리턴 System.Guid

FileName 공개적으로 프로퍼티

Gets the filename of this log file. String.Empty if not currently associated with a file.
public string FileName
리턴 string

IsValid 공개적으로 프로퍼티

Gets if the file is valid and not corrupt.
public bool IsValid
리턴 bool

SourceFiles 공개적으로 프로퍼티

Gets all of the source files.
public List SourceFiles
리턴 List