Package one.microstream.storage.types
Class StorageTaskBroker.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageTaskBroker.Default
-
- All Implemented Interfaces:
StorageTaskBroker
- Enclosing interface:
- StorageTaskBroker
public static final class StorageTaskBroker.Default extends Object implements StorageTaskBroker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageTaskBroker
StorageTaskBroker.Creator, StorageTaskBroker.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.StorageTaskBroker
enqueueExportTypesTask
-
-
-
-
Method Detail
-
currentTask
public final StorageTask currentTask()
- Specified by:
currentTaskin interfaceStorageTaskBroker
-
issueGarbageCollection
public final StorageRequestTaskGarbageCollection issueGarbageCollection(long nanoTimeBudgetBound) throws InterruptedException
- Specified by:
issueGarbageCollectionin interfaceStorageTaskBroker- Throws:
InterruptedException
-
issueCacheCheck
public final StorageRequestTaskCacheCheck issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException
- Specified by:
issueCacheCheckin interfaceStorageTaskBroker- Throws:
InterruptedException
-
issueFileCheck
public final StorageRequestTaskFileCheck issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolver) throws InterruptedException
- Specified by:
issueFileCheckin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueExportChannelsTask
public final StorageRequestTask enqueueExportChannelsTask(StorageIoHandler fileHandler, boolean performGarbageCollection) throws InterruptedException
- Specified by:
enqueueExportChannelsTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueImportFromFilesTask
public StorageRequestTask enqueueImportFromFilesTask(XGettingEnum<Path> importFiles) throws InterruptedException
- Specified by:
enqueueImportFromFilesTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueCreateRawFileStatisticsTask
public StorageRequestTaskCreateStatistics enqueueCreateRawFileStatisticsTask() throws InterruptedException
- Specified by:
enqueueCreateRawFileStatisticsTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueExportTypesTask
public final StorageRequestTaskExportEntitiesByType enqueueExportTypesTask(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException
- Specified by:
enqueueExportTypesTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueStoreTask
public final StorageRequestTaskStoreEntities enqueueStoreTask(Binary data) throws InterruptedException
- Specified by:
enqueueStoreTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueLoadTaskByOids
public final StorageRequestTaskLoadByOids enqueueLoadTaskByOids(PersistenceIdSet[] loadOids) throws InterruptedException
- Specified by:
enqueueLoadTaskByOidsin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueRootsLoadTask
public final StorageRequestTaskLoadRoots enqueueRootsLoadTask() throws InterruptedException
- Specified by:
enqueueRootsLoadTaskin interfaceStorageTaskBroker- Throws:
InterruptedException
-
enqueueLoadTaskByTids
public final StorageRequestTaskLoadByTids enqueueLoadTaskByTids(PersistenceIdSet loadTids) throws InterruptedException
- Specified by:
enqueueLoadTaskByTidsin interfaceStorageTaskBroker- Throws:
InterruptedException
-
issueChannelInitialization
public final StorageChannelTaskInitialize issueChannelInitialization(StorageOperationController operationController) throws InterruptedException
- Specified by:
issueChannelInitializationin interfaceStorageTaskBroker- Throws:
InterruptedException
-
issueChannelShutdown
public final StorageChannelTaskShutdown issueChannelShutdown(StorageOperationController operationController) throws InterruptedException
- Specified by:
issueChannelShutdownin interfaceStorageTaskBroker- Throws:
InterruptedException
-
-