C# Class SenseNet.Search.Indexing.BackupTools

Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
BackupIndex ( ) : void

Asynchronous backup method for GUI purposes.

SynchronousBackupIndex ( ) : void

Synchronous backup method for console applications.

Private Methods

Méthode Description
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

Method Details

BackupIndex() public static méthode

Asynchronous backup method for GUI purposes.
public static BackupIndex ( ) : void
Résultat void

SynchronousBackupIndex() public static méthode

Synchronous backup method for console applications.
public static SynchronousBackupIndex ( ) : void
Résultat void