C# 클래스 SenseNet.Search.Indexing.BackupTools

파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BackupIndexImmediatelly void
BackupTools System
CompressTheIndex void
CopyDirectoryContent void
CopyIndexToBackupDirectory void
DecompressTheIndex void
DeleteDirectoryContent void
DeleteUnnecessaryBackups void
EnsureEmptyDirctory void
LoadBackupIdFromFile System.Guid
MoveDirectoryContent void
NeedRestore bool
OptimizeBeforeBackup void
OptimizeCompressAndStore void
Progress_Changed void
RecoverIndexBackupFromDb void
RestoreIndex void
SaveBackupIdToFile void
StoreIndexBackupToDb System.Guid

공개 메소드들

메소드 설명
BackupIndex ( ) : void

Asynchronous backup method for GUI purposes.

SynchronousBackupIndex ( ) : void

Synchronous backup method for console applications.

비공개 메소드들

메소드 설명
BackupIndexImmediatelly ( ) : void
BackupTools ( ) : System
CompressTheIndex ( string zipFilePath, string backupDirectoryPath ) : void
CopyDirectoryContent ( string sourcePath, string targetPath, List excludedFileNames ) : void
CopyIndexToBackupDirectory ( ) : void
DecompressTheIndex ( string zipFilePath, string targetDirPath ) : void
DeleteDirectoryContent ( string path ) : void
DeleteUnnecessaryBackups ( ) : void
EnsureEmptyDirctory ( string path ) : void
LoadBackupIdFromFile ( string restoreInfoPath ) : System.Guid
MoveDirectoryContent ( string sourcePath, string targetPath ) : void
NeedRestore ( System.Guid &lastIdFromDb ) : bool
OptimizeBeforeBackup ( string indexDirectoryPath ) : void
OptimizeCompressAndStore ( ) : void
Progress_Changed ( object sender, EventArgs e ) : void
RecoverIndexBackupFromDb ( string recoveredFilePath ) : void
RestoreIndex ( bool force, System consoleOut ) : void
SaveBackupIdToFile ( System.Guid backupId, string restoreInfoPath ) : void
StoreIndexBackupToDb ( string backupFilePath ) : System.Guid

메소드 상세

BackupIndex() 공개 정적인 메소드

Asynchronous backup method for GUI purposes.
public static BackupIndex ( ) : void
리턴 void

SynchronousBackupIndex() 공개 정적인 메소드

Synchronous backup method for console applications.
public static SynchronousBackupIndex ( ) : void
리턴 void