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 interface
StorageTaskBroker.Creator
static class
StorageTaskBroker.Default
-
Method Summary
-
-
-
Method Detail
-
currentTask
StorageTask currentTask()
-
enqueueRootsLoadTask
StorageRequestTaskLoadRoots enqueueRootsLoadTask() throws InterruptedException
- Throws:
InterruptedException
-
enqueueLoadTaskByTids
StorageRequestTaskLoadByTids enqueueLoadTaskByTids(PersistenceIdSet loadTids) throws InterruptedException
- Throws:
InterruptedException
-
enqueueLoadTaskByOids
StorageRequestTaskLoadByOids enqueueLoadTaskByOids(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(StorageIoHandler fileHandler, boolean performGarbageCollection) throws InterruptedException
- Throws:
InterruptedException
-
enqueueImportFromFilesTask
StorageRequestTask enqueueImportFromFilesTask(XGettingEnum<File> importFiles) 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 nanoTimeBudgetBound) throws InterruptedException
- Throws:
InterruptedException
-
issueFileCheck
StorageRequestTaskFileCheck issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolver) throws InterruptedException
- Throws:
InterruptedException
-
issueCacheCheck
StorageRequestTaskCacheCheck issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException
- Throws:
InterruptedException
-
-