Package one.microstream.storage.types
Interface StorageBackupHandler
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
StorageBackupHandler.Default
public interface StorageBackupHandler extends Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageBackupHandler.Default
-
Method Summary
Modifier and Type Method Description void
copyFilePart(StorageInventoryFile sourceFile, long sourcePosition, long length)
void
deleteFile(StorageInventoryFile file)
void
initialize(int channelIndex)
boolean
isRunning()
static StorageBackupHandler
New(StorageBackupSetup backupSetup, int channelCount, StorageBackupItemQueue itemQueue, StorageOperationController operationController, StorageDataFileValidator validator)
StorageBackupHandler
setRunning(boolean running)
StorageBackupSetup
setup()
default StorageBackupHandler
start()
default StorageBackupHandler
stop()
void
synchronize(StorageInventory storageInventory)
void
truncateFile(StorageInventoryFile file, long newLength)
-
-
-
Method Detail
-
setup
StorageBackupSetup setup()
-
initialize
void initialize(int channelIndex)
-
synchronize
void synchronize(StorageInventory storageInventory)
-
copyFilePart
void copyFilePart(StorageInventoryFile sourceFile, long sourcePosition, long length)
-
truncateFile
void truncateFile(StorageInventoryFile file, long newLength)
-
deleteFile
void deleteFile(StorageInventoryFile file)
-
start
default StorageBackupHandler start()
-
stop
default StorageBackupHandler stop()
-
isRunning
boolean isRunning()
-
setRunning
StorageBackupHandler setRunning(boolean running)
-
New
static StorageBackupHandler New(StorageBackupSetup backupSetup, int channelCount, StorageBackupItemQueue itemQueue, StorageOperationController operationController, StorageDataFileValidator validator)
-
-