public interface StorageChannel extends Runnable, StorageChannelResetablePart, StorageActivePart, one.microstream.typing.Disposable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageChannel.Default |
static class |
StorageChannel.EntityCollectorByOid |
static class |
StorageChannel.EntityCollectorByTid |
static interface |
StorageChannel.HousekeepingTask |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupStore() |
ChunksBuffer |
collectLoadByOids(ChunksBuffer[] channelChunks,
one.microstream.persistence.types.PersistenceIdSet loadOids) |
ChunksBuffer |
collectLoadByTids(ChunksBuffer[] channelChunks,
one.microstream.persistence.types.PersistenceIdSet loadTids) |
ChunksBuffer |
collectLoadRoots(ChunksBuffer[] channelChunks) |
void |
commitChunkStorage() |
void |
commitImportData(long taskTimestamp) |
StorageRawFileStatistics.ChannelStatistics |
createRawFileStatistics() |
void |
exportData(StorageLiveFileProvider fileProvider) |
one.microstream.typing.KeyValue<Long,Long> |
exportTypeEntities(StorageEntityTypeHandler type,
one.microstream.afs.types.AWritableFile file) |
one.microstream.typing.KeyValue<Long,Long> |
exportTypeEntities(StorageEntityTypeHandler type,
one.microstream.afs.types.AWritableFile file,
Predicate<? super StorageEntity> predicateEntity) |
void |
importData(StorageImportSourceFile importFile) |
StorageIdAnalysis |
initializeStorage(long taskTimestamp,
long consistentStoreTimestamp,
StorageInventory storageInventory) |
boolean |
issuedEntityCacheCheck(long nanoTimeBudget,
StorageEntityCacheEvaluator entityEvaluator) |
boolean |
issuedFileCleanupCheck(long nanoTimeBudget) |
boolean |
issuedGarbageCollection(long nanoTimeBudget) |
void |
postStoreUpdateEntityCache(ByteBuffer[] chunks,
long[] chunksStoragePositions) |
StorageEntityCache.Default |
prepareImportData() |
StorageInventory |
readStorage() |
void |
rollbackChunkStorage() |
void |
rollbackImportData(Throwable cause) |
void |
signalGarbageCollectionSweepCompleted() |
one.microstream.typing.KeyValue<ByteBuffer[],long[]> |
storeEntities(long timestamp,
Chunk chunkData) |
StorageTypeDictionary |
typeDictionary() |
resetchannelIndexisActiveStorageTypeDictionary typeDictionary()
ChunksBuffer collectLoadByOids(ChunksBuffer[] channelChunks, one.microstream.persistence.types.PersistenceIdSet loadOids)
ChunksBuffer collectLoadRoots(ChunksBuffer[] channelChunks)
ChunksBuffer collectLoadByTids(ChunksBuffer[] channelChunks, one.microstream.persistence.types.PersistenceIdSet loadTids)
one.microstream.typing.KeyValue<ByteBuffer[],long[]> storeEntities(long timestamp, Chunk chunkData)
void rollbackChunkStorage()
void commitChunkStorage()
void postStoreUpdateEntityCache(ByteBuffer[] chunks, long[] chunksStoragePositions) throws InterruptedException
InterruptedExceptionStorageInventory readStorage()
boolean issuedGarbageCollection(long nanoTimeBudget)
boolean issuedFileCleanupCheck(long nanoTimeBudget)
boolean issuedEntityCacheCheck(long nanoTimeBudget,
StorageEntityCacheEvaluator entityEvaluator)
void exportData(StorageLiveFileProvider fileProvider)
StorageEntityCache.Default prepareImportData()
void importData(StorageImportSourceFile importFile)
void rollbackImportData(Throwable cause)
void commitImportData(long taskTimestamp)
one.microstream.typing.KeyValue<Long,Long> exportTypeEntities(StorageEntityTypeHandler type, one.microstream.afs.types.AWritableFile file) throws IOException
IOExceptionone.microstream.typing.KeyValue<Long,Long> exportTypeEntities(StorageEntityTypeHandler type, one.microstream.afs.types.AWritableFile file, Predicate<? super StorageEntity> predicateEntity) throws IOException
IOExceptionStorageRawFileStatistics.ChannelStatistics createRawFileStatistics()
StorageIdAnalysis initializeStorage(long taskTimestamp, long consistentStoreTimestamp, StorageInventory storageInventory)
void signalGarbageCollectionSweepCompleted()
void cleanupStore()
Copyright © 2022 MicroStream Software. All rights reserved.