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 StorageRawFileStatistics
createStatistics()
void
exportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection)
StorageEntityTypeExportStatistics
exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)
void
importFiles(XGettingEnum<AFile> importFiles)
boolean
issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)
boolean
issueFileCheck(long nanoTimeBudget)
boolean
issueGarbageCollection(long nanoTimeBudget)
Binary
queryByObjectIds(PersistenceIdSet[] loadOids)
Binary
queryByTypeIds(PersistenceIdSet loadTids)
Binary
recallRoots()
void
storeData(Binary data)
-
Constructor Details
-
Method Details
-
storeData
- Specified by:
storeData
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
queryByObjectIds
- Specified by:
queryByObjectIds
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
queryByTypeIds
public Binary queryByTypeIds(PersistenceIdSet loadTids) throws StorageExceptionRequest, InterruptedException- Specified by:
queryByTypeIds
in interfaceStorageRequestAcceptor
- Throws:
StorageExceptionRequest
InterruptedException
-
recallRoots
- Specified by:
recallRoots
in interfaceStorageRequestAcceptor
- Throws:
StorageExceptionRequest
InterruptedException
-
issueGarbageCollection
- Specified by:
issueGarbageCollection
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
issueCacheCheck
public boolean issueCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator) throws InterruptedException- Specified by:
issueCacheCheck
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
issueFileCheck
- Specified by:
issueFileCheck
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
exportTypes
public final StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException- Specified by:
exportTypes
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
exportChannels
public final void exportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection) throws InterruptedException- Specified by:
exportChannels
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
createStatistics
- Specified by:
createStatistics
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-
importFiles
- Specified by:
importFiles
in interfaceStorageRequestAcceptor
- Throws:
InterruptedException
-