Package one.microstream.storage.types
Class StorageBackupItemQueue.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageBackupItemQueue.Default
-
- All Implemented Interfaces:
StorageBackupItemEnqueuer
,StorageBackupItemQueue
,StorageFileUser
- Enclosing interface:
- StorageBackupItemQueue
public static final class StorageBackupItemQueue.Default extends Object implements StorageBackupItemQueue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageBackupItemQueue
StorageBackupItemQueue.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description void
enqueueCopyingItem(StorageInventoryFile sourceFile, long sourcePosition, long length)
void
enqueueDeletionItem(StorageInventoryFile file)
void
enqueueTruncatingItem(StorageInventoryFile file, long newLength)
boolean
processNextItem(StorageBackupHandler handler, long timeoutMs)
-
-
-
Method Detail
-
enqueueCopyingItem
public final void enqueueCopyingItem(StorageInventoryFile sourceFile, long sourcePosition, long length)
- Specified by:
enqueueCopyingItem
in interfaceStorageBackupItemEnqueuer
-
enqueueTruncatingItem
public final void enqueueTruncatingItem(StorageInventoryFile file, long newLength)
- Specified by:
enqueueTruncatingItem
in interfaceStorageBackupItemEnqueuer
-
enqueueDeletionItem
public void enqueueDeletionItem(StorageInventoryFile file)
- Specified by:
enqueueDeletionItem
in interfaceStorageBackupItemEnqueuer
-
processNextItem
public final boolean processNextItem(StorageBackupHandler handler, long timeoutMs) throws InterruptedException
- Specified by:
processNextItem
in interfaceStorageBackupItemQueue
- Throws:
InterruptedException
-
-