Package one.microstream.storage.types
Class StorageRequestAcceptor.Default
java.lang.Object
one.microstream.storage.types.StorageRequestAcceptor.Default
- All Implemented Interfaces:
StorageRequestAcceptor
- Enclosing interface:
- StorageRequestAcceptor
public static final class StorageRequestAcceptor.Default extends Object implements StorageRequestAcceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageRequestAcceptor
StorageRequestAcceptor.Creator, StorageRequestAcceptor.Default -
Constructor Summary
Constructors Constructor Description Default(StorageDataChunkValidator dataChunkValidator, StorageTaskBroker taskBroker) -
Method Summary
Modifier and Type Method Description StorageRawFileStatisticscreateStatistics()voidexportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection)StorageEntityTypeExportStatisticsexportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)voidimportFiles(XGettingEnum<AFile> importFiles)booleanissueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)booleanissueFileCheck(long nanoTimeBudget)booleanissueGarbageCollection(long nanoTimeBudget)BinaryqueryByObjectIds(PersistenceIdSet[] loadOids)BinaryqueryByTypeIds(PersistenceIdSet loadTids)BinaryrecallRoots()voidstoreData(Binary data)
-
Constructor Details
-
Method Details
-
storeData
- Specified by:
storeDatain interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
queryByObjectIds
- Specified by:
queryByObjectIdsin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
queryByTypeIds
public Binary queryByTypeIds(PersistenceIdSet loadTids) throws StorageExceptionRequest, InterruptedException- Specified by:
queryByTypeIdsin interfaceStorageRequestAcceptor- Throws:
StorageExceptionRequestInterruptedException
-
recallRoots
- Specified by:
recallRootsin interfaceStorageRequestAcceptor- Throws:
StorageExceptionRequestInterruptedException
-
issueGarbageCollection
- Specified by:
issueGarbageCollectionin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
issueCacheCheck
public boolean issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException- Specified by:
issueCacheCheckin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
issueFileCheck
- Specified by:
issueFileCheckin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
exportTypes
public final StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException- Specified by:
exportTypesin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
exportChannels
public final void exportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection) throws InterruptedException- Specified by:
exportChannelsin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
createStatistics
- Specified by:
createStatisticsin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
importFiles
- Specified by:
importFilesin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-