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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageRawFileStatisticscreateStatistics()voidexportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection)StorageEntityTypeExportStatisticsexportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)voidimportData(one.microstream.collections.types.XGettingEnum<ByteBuffer> importData)voidimportFiles(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles)booleanissueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)booleanissueFileCheck(long nanoTimeBudget)booleanissueGarbageCollection(long nanoTimeBudget)BinaryqueryByObjectIds(one.microstream.persistence.types.PersistenceIdSet[] loadOids)BinaryqueryByTypeIds(one.microstream.persistence.types.PersistenceIdSet loadTids)BinaryrecallRoots()voidstoreData(Binary data)-
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.StorageRequestAcceptor
exportTypes
-
-
-
-
Constructor Detail
-
Default
public Default(StorageDataChunkValidator dataChunkValidator, StorageTaskBroker taskBroker)
-
-
Method Detail
-
storeData
public final void storeData(Binary data) throws InterruptedException
- Specified by:
storeDatain interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
queryByObjectIds
public final Binary queryByObjectIds(one.microstream.persistence.types.PersistenceIdSet[] loadOids) throws InterruptedException
- Specified by:
queryByObjectIdsin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
queryByTypeIds
public Binary queryByTypeIds(one.microstream.persistence.types.PersistenceIdSet loadTids) throws StorageExceptionRequest, InterruptedException
- Specified by:
queryByTypeIdsin interfaceStorageRequestAcceptor- Throws:
StorageExceptionRequestInterruptedException
-
recallRoots
public Binary recallRoots() throws StorageExceptionRequest, InterruptedException
- Specified by:
recallRootsin interfaceStorageRequestAcceptor- Throws:
StorageExceptionRequestInterruptedException
-
issueGarbageCollection
public boolean issueGarbageCollection(long nanoTimeBudget) throws InterruptedException- Specified by:
issueGarbageCollectionin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
issueCacheCheck
public boolean issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException- Specified by:
issueCacheCheckin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
issueFileCheck
public boolean issueFileCheck(long nanoTimeBudget) throws InterruptedException- 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
public StorageRawFileStatistics createStatistics() throws InterruptedException
- Specified by:
createStatisticsin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
importFiles
public void importFiles(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles) throws InterruptedException- Specified by:
importFilesin interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
importData
public void importData(one.microstream.collections.types.XGettingEnum<ByteBuffer> importData) throws InterruptedException
- Specified by:
importDatain interfaceStorageRequestAcceptor- Throws:
InterruptedException
-
-