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 Detail
-
backupFileProvider
StorageFileProvider backupFileProvider()
-
setupWriterProvider
StorageFileWriter.Provider setupWriterProvider(StorageFileWriter.Provider writerProvider)
-
setupHandler
StorageBackupHandler setupHandler(StorageOperationController operationController, StorageDataFileValidator validator)
-
New
static StorageBackupSetup New(Path backupDirectory)
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
static StorageBackupSetup New(StorageFileProvider backupFileProvider)
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
-
-