Package one.microstream.storage.types
Interface StorageBackupSetup
- All Known Implementing Classes:
StorageBackupSetup.Default
public interface StorageBackupSetup
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageBackupSetup.Default
-
Method Summary
Modifier and Type Method Description StorageBackupFileProvider
backupFileProvider()
static StorageBackupSetup
New(ADirectory backupDirectory)
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passed directory as the backup location.static StorageBackupSetup
New(StorageBackupFileProvider backupFileProvider)
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passedStorageLiveFileProvider
.StorageBackupHandler
setupHandler(StorageOperationController operationController, StorageWriteController writeController, StorageDataFileValidator validator)
StorageFileWriter.Provider
setupWriterProvider(StorageFileWriter.Provider writerProvider)
-
Method Details
-
backupFileProvider
StorageBackupFileProvider backupFileProvider() -
setupWriterProvider
-
setupHandler
StorageBackupHandler setupHandler(StorageOperationController operationController, StorageWriteController writeController, StorageDataFileValidator validator) -
New
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passed directory as the backup location.For explanations and customizing values, see
StorageBackupSetup#New(StorageLiveFileProvider)
.- Parameters:
backupDirectory
- the directory where the backup shall be located.- Returns:
- a new
StorageBackupSetup
instance. - See Also:
StorageBackupSetup#New(StorageLiveFileProvider)
,StorageBackupHandler
-
New
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passedStorageLiveFileProvider
.A StorageBackupSetup basically defines where the backup files will be located by the
StorageBackupHandler
.- Parameters:
backupFileProvider
- theStorageBackupFileProvider
to define where the backup files will be located.- Returns:
- a new
StorageBackupSetup
instance. - See Also:
New(ADirectory)
,StorageBackupHandler
-