Package one.microstream.storage.types
Class StorageConnection.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageConnection.Default
-
- All Implemented Interfaces:
PersistenceStoring
,Persister
,Unpersistable
,ObjectSwizzling
,StorageConnection
- Enclosing interface:
- StorageConnection
public static final class StorageConnection.Default extends Object implements StorageConnection, Unpersistable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageConnection
StorageConnection.Default
-
-
Constructor Summary
Constructors Constructor Description Default(PersistenceManager<Binary> delegate, StorageRequestAcceptor connectionRequestAcceptor)
-
Method Summary
Modifier and Type Method Description StorageRawFileStatistics
createStorageStatistics()
void
exportChannels(StorageIoHandler fileHandler, boolean performGarbageCollection)
StorageEntityTypeExportStatistics
exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)
void
importFiles(XGettingEnum<Path> importFiles)
boolean
issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator)
boolean
issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolver)
boolean
issueGarbageCollection(long nanoTimeBudgetBound)
PersistenceManager<Binary>
persistenceManager()
-
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.StorageConnection
createEagerStorer, createLazyStorer, createStorer, exportChannels, exportTypes, getObject, issueCacheCheck, issueFileCheck, issueFullCacheCheck, issueFullCacheCheck, issueFullFileCheck, issueFullFileCheck, issueFullGarbageCollection, store, storeAll, storeAll
-
-
-
-
Constructor Detail
-
Default
public Default(PersistenceManager<Binary> delegate, StorageRequestAcceptor connectionRequestAcceptor)
-
-
Method Detail
-
persistenceManager
public PersistenceManager<Binary> persistenceManager()
- Specified by:
persistenceManager
in interfaceStorageConnection
-
issueGarbageCollection
public final boolean issueGarbageCollection(long nanoTimeBudgetBound)
- Specified by:
issueGarbageCollection
in interfaceStorageConnection
-
issueFileCheck
public final boolean issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolver)
- Specified by:
issueFileCheck
in interfaceStorageConnection
-
issueCacheCheck
public final boolean issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator)
- Specified by:
issueCacheCheck
in interfaceStorageConnection
-
createStorageStatistics
public StorageRawFileStatistics createStorageStatistics()
- Specified by:
createStorageStatistics
in interfaceStorageConnection
-
exportChannels
public void exportChannels(StorageIoHandler fileHandler, boolean performGarbageCollection)
- Specified by:
exportChannels
in interfaceStorageConnection
-
exportTypes
public StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)
- Specified by:
exportTypes
in interfaceStorageConnection
-
importFiles
public void importFiles(XGettingEnum<Path> importFiles)
- Specified by:
importFiles
in interfaceStorageConnection
-
-