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:
currentTask
in interfaceStorageTaskBroker
-
issueGarbageCollection
public final StorageRequestTaskGarbageCollection issueGarbageCollection(long nanoTimeBudgetBound) throws InterruptedException
- Specified by:
issueGarbageCollection
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
issueCacheCheck
public final StorageRequestTaskCacheCheck issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException
- Specified by:
issueCacheCheck
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
issueFileCheck
public final StorageRequestTaskFileCheck issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolver) throws InterruptedException
- Specified by:
issueFileCheck
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueExportChannelsTask
public final StorageRequestTask enqueueExportChannelsTask(StorageIoHandler fileHandler, boolean performGarbageCollection) throws InterruptedException
- Specified by:
enqueueExportChannelsTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueImportFromFilesTask
public StorageRequestTask enqueueImportFromFilesTask(XGettingEnum<File> importFiles) throws InterruptedException
- Specified by:
enqueueImportFromFilesTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueCreateRawFileStatisticsTask
public StorageRequestTaskCreateStatistics enqueueCreateRawFileStatisticsTask() throws InterruptedException
- Specified by:
enqueueCreateRawFileStatisticsTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueExportTypesTask
public final StorageRequestTaskExportEntitiesByType enqueueExportTypesTask(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException
- Specified by:
enqueueExportTypesTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueStoreTask
public final StorageRequestTaskStoreEntities enqueueStoreTask(Binary data) throws InterruptedException
- Specified by:
enqueueStoreTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueLoadTaskByOids
public final StorageRequestTaskLoadByOids enqueueLoadTaskByOids(PersistenceIdSet[] loadOids) throws InterruptedException
- Specified by:
enqueueLoadTaskByOids
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueRootsLoadTask
public final StorageRequestTaskLoadRoots enqueueRootsLoadTask() throws InterruptedException
- Specified by:
enqueueRootsLoadTask
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
enqueueLoadTaskByTids
public final StorageRequestTaskLoadByTids enqueueLoadTaskByTids(PersistenceIdSet loadTids) throws InterruptedException
- Specified by:
enqueueLoadTaskByTids
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
issueChannelInitialization
public final StorageChannelTaskInitialize issueChannelInitialization(StorageOperationController operationController) throws InterruptedException
- Specified by:
issueChannelInitialization
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
issueChannelShutdown
public final StorageChannelTaskShutdown issueChannelShutdown(StorageOperationController operationController) throws InterruptedException
- Specified by:
issueChannelShutdown
in interfaceStorageTaskBroker
- Throws:
InterruptedException
-
-