Package one.microstream.storage.types
Class StorageBackupHandler.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageBackupHandler.Default
-
- All Implemented Interfaces:
Runnable
,StorageBackupHandler
- Enclosing interface:
- StorageBackupHandler
public static final class StorageBackupHandler.Default extends Object implements StorageBackupHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageBackupHandler
StorageBackupHandler.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description void
copyFilePart(StorageInventoryFile sourceFile, long sourcePosition, long copyLength)
void
deleteFile(StorageInventoryFile file)
void
initialize(int channelIndex)
boolean
isRunning()
void
run()
StorageBackupHandler
setRunning(boolean running)
StorageBackupSetup
setup()
void
synchronize(StorageInventory storageInventory)
void
truncateFile(StorageInventoryFile file, long newLength)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.StorageBackupHandler
start, stop
-
-
-
-
Method Detail
-
setup
public final StorageBackupSetup setup()
- Specified by:
setup
in interfaceStorageBackupHandler
-
isRunning
public final boolean isRunning()
- Specified by:
isRunning
in interfaceStorageBackupHandler
-
setRunning
public final StorageBackupHandler setRunning(boolean running)
- Specified by:
setRunning
in interfaceStorageBackupHandler
-
initialize
public void initialize(int channelIndex)
- Specified by:
initialize
in interfaceStorageBackupHandler
-
synchronize
public void synchronize(StorageInventory storageInventory)
- Specified by:
synchronize
in interfaceStorageBackupHandler
-
copyFilePart
public void copyFilePart(StorageInventoryFile sourceFile, long sourcePosition, long copyLength)
- Specified by:
copyFilePart
in interfaceStorageBackupHandler
-
truncateFile
public void truncateFile(StorageInventoryFile file, long newLength)
- Specified by:
truncateFile
in interfaceStorageBackupHandler
-
deleteFile
public void deleteFile(StorageInventoryFile file)
- Specified by:
deleteFile
in interfaceStorageBackupHandler
-
-