public interface StorageFileManager extends StorageChannelResetablePart, one.microstream.typing.Disposable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageFileManager.Default |
| Modifier and Type | Method and Description |
|---|---|
int |
channelIndex() |
void |
commitWrite() |
StorageRawFileStatistics.ChannelStatistics |
createRawFileStatistics() |
StorageLiveDataFile |
currentStorageFile() |
void |
exportData(StorageLiveFileProvider fileProvider) |
boolean |
incrementalFileCleanupCheck(long nanoTimeBudgetBound) |
StorageIdAnalysis |
initializeStorage(long taskTimestamp,
long consistentStoreTimestamp,
StorageInventory storageInventory,
StorageChannel parent) |
boolean |
issuedFileCleanupCheck(long nanoTimeBudgetBound) |
void |
iterateStorageFiles(Consumer<? super StorageLiveDataFile> procedure) |
StorageInventory |
readStorage() |
void |
reset()
Closes all resources (files, locks, etc.).
|
void |
restartFileCleanupCursor() |
void |
rollbackWrite() |
long[] |
storeChunks(long timestamp,
ByteBuffer[] dataBuffers) |
int channelIndex()
channelIndex in interface StorageHashChannelPartvoid reset()
StorageChannelResetablePartreset in interface StorageChannelResetablePartlong[] storeChunks(long timestamp,
ByteBuffer[] dataBuffers)
throws StorageExceptionIoWritingChunk
StorageExceptionIoWritingChunkvoid rollbackWrite()
void commitWrite()
StorageInventory readStorage()
StorageIdAnalysis initializeStorage(long taskTimestamp, long consistentStoreTimestamp, StorageInventory storageInventory, StorageChannel parent)
StorageLiveDataFile currentStorageFile()
void iterateStorageFiles(Consumer<? super StorageLiveDataFile> procedure)
boolean incrementalFileCleanupCheck(long nanoTimeBudgetBound)
boolean issuedFileCleanupCheck(long nanoTimeBudgetBound)
void exportData(StorageLiveFileProvider fileProvider)
StorageRawFileStatistics.ChannelStatistics createRawFileStatistics()
void restartFileCleanupCursor()
Copyright © 2022 MicroStream Software. All rights reserved.