Package one.microstream.storage.types
Interface StorageTaskBroker
-
- All Known Implementing Classes:
StorageTaskBroker.Default
public interface StorageTaskBroker
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStorageTaskBroker.Creatorstatic classStorageTaskBroker.Default
-
Method Summary
-
-
-
Method Detail
-
currentTask
StorageTask currentTask()
-
enqueueRootsLoadTask
StorageRequestTaskLoadRoots enqueueRootsLoadTask() throws InterruptedException
- Throws:
InterruptedException
-
enqueueLoadTaskByTids
StorageRequestTaskLoadByTids enqueueLoadTaskByTids(one.microstream.persistence.types.PersistenceIdSet loadTids) throws InterruptedException
- Throws:
InterruptedException
-
enqueueLoadTaskByOids
StorageRequestTaskLoadByOids enqueueLoadTaskByOids(one.microstream.persistence.types.PersistenceIdSet[] loadOids) throws InterruptedException
- Throws:
InterruptedException
-
enqueueStoreTask
StorageRequestTaskStoreEntities enqueueStoreTask(Binary data) throws InterruptedException
- Throws:
InterruptedException
-
enqueueExportTypesTask
default StorageRequestTaskExportEntitiesByType enqueueExportTypesTask(StorageEntityTypeExportFileProvider exportFileProvider) throws InterruptedException
- Throws:
InterruptedException
-
enqueueExportTypesTask
StorageRequestTaskExportEntitiesByType enqueueExportTypesTask(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException
- Throws:
InterruptedException
-
enqueueExportChannelsTask
StorageRequestTask enqueueExportChannelsTask(StorageLiveFileProvider fileProvider, boolean performGarbageCollection) throws InterruptedException
- Throws:
InterruptedException
-
enqueueImportFromFilesTask
StorageRequestTask enqueueImportFromFilesTask(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles) throws InterruptedException
- Throws:
InterruptedException
-
enqueueImportFromByteBuffersTask
StorageRequestTask enqueueImportFromByteBuffersTask(one.microstream.collections.types.XGettingEnum<ByteBuffer> importData) throws InterruptedException
- Throws:
InterruptedException
-
enqueueCreateRawFileStatisticsTask
StorageRequestTaskCreateStatistics enqueueCreateRawFileStatisticsTask() throws InterruptedException
- Throws:
InterruptedException
-
issueChannelInitialization
StorageChannelTaskInitialize issueChannelInitialization(StorageOperationController operationController) throws InterruptedException
- Throws:
InterruptedException
-
issueChannelShutdown
StorageChannelTaskShutdown issueChannelShutdown(StorageOperationController operationController) throws InterruptedException
- Throws:
InterruptedException
-
issueGarbageCollection
StorageRequestTaskGarbageCollection issueGarbageCollection(long nanoTimeBudget) throws InterruptedException
- Throws:
InterruptedException
-
issueFileCheck
StorageRequestTaskFileCheck issueFileCheck(long nanoTimeBudget) throws InterruptedException
- Throws:
InterruptedException
-
issueCacheCheck
StorageRequestTaskCacheCheck issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException
- Throws:
InterruptedException
-
operationController
StorageOperationController operationController()
-
-