public static final class StorageRequestAcceptor.Default extends Object implements StorageRequestAcceptor
StorageRequestAcceptor.Creator, StorageRequestAcceptor.Default| Constructor and Description |
|---|
Default(StorageDataChunkValidator dataChunkValidator,
StorageTaskBroker taskBroker) |
| Modifier and Type | Method and Description |
|---|---|
StorageRawFileStatistics |
createStatistics() |
void |
exportChannels(StorageLiveFileProvider fileProvider,
boolean performGarbageCollection) |
StorageEntityTypeExportStatistics |
exportTypes(StorageEntityTypeExportFileProvider exportFileProvider,
Predicate<? super StorageEntityTypeHandler> isExportType) |
void |
importFiles(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles) |
boolean |
issueCacheCheck(long nanoTimeBudget,
StorageEntityCacheEvaluator entityEvaluator) |
boolean |
issueFileCheck(long nanoTimeBudget) |
boolean |
issueGarbageCollection(long nanoTimeBudget) |
Binary |
queryByObjectIds(one.microstream.persistence.types.PersistenceIdSet[] loadOids) |
Binary |
queryByTypeIds(one.microstream.persistence.types.PersistenceIdSet loadTids) |
Binary |
recallRoots() |
void |
storeData(Binary data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportTypespublic Default(StorageDataChunkValidator dataChunkValidator, StorageTaskBroker taskBroker)
public final void storeData(Binary data) throws InterruptedException
storeData in interface StorageRequestAcceptorInterruptedExceptionpublic final Binary queryByObjectIds(one.microstream.persistence.types.PersistenceIdSet[] loadOids) throws InterruptedException
queryByObjectIds in interface StorageRequestAcceptorInterruptedExceptionpublic Binary queryByTypeIds(one.microstream.persistence.types.PersistenceIdSet loadTids) throws StorageExceptionRequest, InterruptedException
queryByTypeIds in interface StorageRequestAcceptorStorageExceptionRequestInterruptedExceptionpublic Binary recallRoots() throws StorageExceptionRequest, InterruptedException
recallRoots in interface StorageRequestAcceptorStorageExceptionRequestInterruptedExceptionpublic boolean issueGarbageCollection(long nanoTimeBudget)
throws InterruptedException
issueGarbageCollection in interface StorageRequestAcceptorInterruptedExceptionpublic boolean issueCacheCheck(long nanoTimeBudget,
StorageEntityCacheEvaluator entityEvaluator)
throws InterruptedException
issueCacheCheck in interface StorageRequestAcceptorInterruptedExceptionpublic boolean issueFileCheck(long nanoTimeBudget)
throws InterruptedException
issueFileCheck in interface StorageRequestAcceptorInterruptedExceptionpublic final StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType) throws InterruptedException
exportTypes in interface StorageRequestAcceptorInterruptedExceptionpublic final void exportChannels(StorageLiveFileProvider fileProvider, boolean performGarbageCollection) throws InterruptedException
exportChannels in interface StorageRequestAcceptorInterruptedExceptionpublic StorageRawFileStatistics createStatistics() throws InterruptedException
createStatistics in interface StorageRequestAcceptorInterruptedExceptionpublic void importFiles(one.microstream.collections.types.XGettingEnum<one.microstream.afs.types.AFile> importFiles)
throws InterruptedException
importFiles in interface StorageRequestAcceptorInterruptedExceptionCopyright © 2022 MicroStream Software. All rights reserved.