Package one.microstream.storage.types
Interface StorageChannel
- All Superinterfaces:
Runnable
,StorageActivePart
,StorageChannelResetablePart
,StorageHashChannelPart
- All Known Implementing Classes:
StorageChannel.Default
public interface StorageChannel extends Runnable, StorageChannelResetablePart, StorageActivePart
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageChannel.Default
static class
StorageChannel.EntityCollectorByOid
static class
StorageChannel.EntityCollectorByTid
static interface
StorageChannel.HousekeepingTask
-
Method Summary
-
Method Details
-
typeDictionary
StorageTypeDictionary typeDictionary() -
collectLoadByOids
-
collectLoadRoots
-
collectLoadByTids
-
storeEntities
-
rollbackChunkStorage
void rollbackChunkStorage() -
commitChunkStorage
void commitChunkStorage() -
postStoreUpdateEntityCache
void postStoreUpdateEntityCache(ByteBuffer[] chunks, long[] chunksStoragePositions) throws InterruptedException- Throws:
InterruptedException
-
readStorage
StorageInventory readStorage() -
issuedGarbageCollection
boolean issuedGarbageCollection(long nanoTimeBudget) -
issuedFileCheck
boolean issuedFileCheck(long nanoTimeBudget) -
issuedCacheCheck
-
exportData
-
prepareImportData
StorageEntityCache.Default prepareImportData() -
importData
-
rollbackImportData
-
commitImportData
void commitImportData(long taskTimestamp) -
exportTypeEntities
KeyValue<Long,Long> exportTypeEntities(StorageEntityTypeHandler type, StorageLockedFile file) throws IOException- Throws:
IOException
-
exportTypeEntities
KeyValue<Long,Long> exportTypeEntities(StorageEntityTypeHandler type, StorageLockedFile file, Predicate<? super StorageEntity> predicateEntity) throws IOException- Throws:
IOException
-
createRawFileStatistics
StorageRawFileStatistics.ChannelStatistics createRawFileStatistics() -
initializeStorage
StorageIdAnalysis initializeStorage(long taskTimestamp, long consistentStoreTimestamp, StorageInventory storageInventory) -
signalGarbageCollectionSweepCompleted
void signalGarbageCollectionSweepCompleted() -
cleanupStore
void cleanupStore()
-