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 StorageFileProvider
backupFileProvider()
static StorageBackupSetup
New(Path backupDirectory)
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passed directory as the backup location.static StorageBackupSetup
New(StorageFileProvider backupFileProvider)
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passedStorageFileProvider
.StorageBackupHandler
setupHandler(StorageOperationController operationController, StorageDataFileValidator validator)
StorageFileWriter.Provider
setupWriterProvider(StorageFileWriter.Provider writerProvider)
-
Method Details
-
backupFileProvider
StorageFileProvider backupFileProvider() -
setupWriterProvider
-
setupHandler
StorageBackupHandler setupHandler(StorageOperationController operationController, 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
New(StorageFileProvider)
.- Parameters:
backupDirectory
- the directory where the backup shall be located.- Returns:
- a new
StorageBackupSetup
instance. - See Also:
New(StorageFileProvider)
,StorageBackupHandler
-
New
Pseudo-constructor method to create a newStorageBackupSetup
instance using the passedStorageFileProvider
.A StorageBackupSetup basically defines where the backup files will be located by the
StorageBackupHandler
.- Parameters:
backupFileProvider
- theStorageFileProvider
to define where the backup files will be located.- Returns:
- a new
StorageBackupSetup
instance. - See Also:
New(Path)
,StorageBackupHandler
-