Package one.microstream.storage.types
Interface StorageRequestAcceptor
-
- All Known Implementing Classes:
StorageRequestAcceptor.Default
public interface StorageRequestAcceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStorageRequestAcceptor.Creatorstatic classStorageRequestAcceptor.Default
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StorageRawFileStatisticscreateStatistics()voidexportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection)default StorageEntityTypeExportStatisticsexportTypes(StorageEntityTypeExportFileProvider exportFileProvider)StorageEntityTypeExportStatisticsexportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)voidimportData(one.microstream.collections.types.XGettingEnum<ByteBuffer> importFiles)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)
-
-
-
Method Detail
-
storeData
void storeData(Binary data) throws StorageExceptionRequest, InterruptedException
-
queryByObjectIds
Binary queryByObjectIds(one.microstream.persistence.types.PersistenceIdSet[] loadOids) throws StorageExceptionRequest, InterruptedException
-
queryByTypeIds
Binary queryByTypeIds(one.microstream.persistence.types.PersistenceIdSet loadTids) throws StorageExceptionRequest, InterruptedException
-
recallRoots
Binary recallRoots() throws StorageExceptionRequest, InterruptedException
-
issueGarbageCollection
boolean issueGarbageCollection(long nanoTimeBudget) throws InterruptedException- Throws:
InterruptedException
-
issueFileCheck
boolean issueFileCheck(long nanoTimeBudget) throws InterruptedException- Throws:
InterruptedException
-
issueCacheCheck
boolean issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException- Throws:
InterruptedException
-
exportTypes
default StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider) throws InterruptedException
- Throws:
InterruptedException
-
exportTypes
StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException
- Throws:
InterruptedException
-
exportChannels
void exportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection) throws InterruptedException
- Throws:
InterruptedException
-
importFiles
void importFiles(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles) throws InterruptedException- Throws:
InterruptedException
-
importData
void importData(one.microstream.collections.types.XGettingEnum<ByteBuffer> importFiles) throws InterruptedException
- Throws:
InterruptedException
-
createStatistics
StorageRawFileStatistics createStatistics() throws InterruptedException
- Throws:
InterruptedException
-
-