Package one.microstream.storage.types
Class EmbeddedStorageManager.Default
- java.lang.Object
-
- one.microstream.storage.types.EmbeddedStorageManager.Default
-
- All Implemented Interfaces:
PersistenceStoring
,Unpersistable
,EmbeddedStorageManager
,StorageConnection
,StorageController
- Enclosing interface:
- EmbeddedStorageManager
public static final class EmbeddedStorageManager.Default extends Object implements EmbeddedStorageManager, Unpersistable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.EmbeddedStorageManager
EmbeddedStorageManager.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
-
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.EmbeddedStorageManager
storeDefaultRoot, storeRoot
-
Methods inherited from interface one.microstream.storage.types.StorageConnection
createEagerStorer, createLazyStorer, exportChannels, exportTypes, store, storeAll, storeAll, storeSelfStoring
-
Methods inherited from interface one.microstream.storage.types.StorageController
initializationDuration, isShutdown
-
-
-
-
Method Detail
-
root
public Object root()
- Specified by:
root
in interfaceEmbeddedStorageManager
-
setRoot
public Object setRoot(Object newRoot)
- Specified by:
setRoot
in interfaceEmbeddedStorageManager
-
defaultRoot
public Reference<Object> defaultRoot()
- Specified by:
defaultRoot
in interfaceEmbeddedStorageManager
-
customRoot
public Object customRoot()
- Specified by:
customRoot
in interfaceEmbeddedStorageManager
-
persistenceManager
public PersistenceManager<Binary> persistenceManager()
- Specified by:
persistenceManager
in interfaceStorageConnection
-
createStorer
public Storer createStorer()
- Specified by:
createStorer
in interfaceStorageConnection
-
start
public final EmbeddedStorageManager.Default start()
- Specified by:
start
in interfaceEmbeddedStorageManager
- Specified by:
start
in interfaceStorageController
-
initialize
public final void initialize()
- Specified by:
initialize
in interfaceEmbeddedStorageManager
-
shutdown
public final boolean shutdown()
- Specified by:
shutdown
in interfaceEmbeddedStorageManager
- Specified by:
shutdown
in interfaceStorageController
-
isAcceptingTasks
public final boolean isAcceptingTasks()
- Specified by:
isAcceptingTasks
in interfaceStorageController
-
isRunning
public final boolean isRunning()
- Specified by:
isRunning
in interfaceStorageController
-
isStartingUp
public final boolean isStartingUp()
- Specified by:
isStartingUp
in interfaceStorageController
-
isShuttingDown
public final boolean isShuttingDown()
- Specified by:
isShuttingDown
in interfaceStorageController
-
checkAcceptingTasks
public final void checkAcceptingTasks()
- Specified by:
checkAcceptingTasks
in interfaceStorageController
-
configuration
public final StorageConfiguration configuration()
- Specified by:
configuration
in interfaceEmbeddedStorageManager
-
typeDictionary
public final StorageTypeDictionary typeDictionary()
- Specified by:
typeDictionary
in interfaceEmbeddedStorageManager
-
createConnection
public final StorageConnection createConnection()
- Specified by:
createConnection
in interfaceEmbeddedStorageManager
-
initializationTime
public final long initializationTime()
- Specified by:
initializationTime
in interfaceStorageController
-
operationModeTime
public final long operationModeTime()
- Specified by:
operationModeTime
in interfaceStorageController
-
issueFullGarbageCollection
public final void issueFullGarbageCollection()
Description copied from interface:StorageConnection
Issues a full garbage collection to be executed. Depending on the size of the database, the available cache, used hardware, etc., this can take any amount of time.- Specified by:
issueFullGarbageCollection
in interfaceStorageConnection
-
issueGarbageCollection
public final boolean issueGarbageCollection(long nanoTimeBudget)
- Specified by:
issueGarbageCollection
in interfaceStorageConnection
-
issueFullFileCheck
public final void issueFullFileCheck()
- Specified by:
issueFullFileCheck
in interfaceStorageConnection
-
issueFullFileCheck
public final void issueFullFileCheck(StorageDataFileDissolvingEvaluator fileDissolvingEvaluator)
- Specified by:
issueFullFileCheck
in interfaceStorageConnection
-
issueFileCheck
public boolean issueFileCheck(long nanoTimeBudgetBound)
- Specified by:
issueFileCheck
in interfaceStorageConnection
-
issueFileCheck
public final boolean issueFileCheck(long nanoTimeBudgetBound, StorageDataFileDissolvingEvaluator fileDissolvingEvaluator)
- Specified by:
issueFileCheck
in interfaceStorageConnection
-
issueFullCacheCheck
public final void issueFullCacheCheck()
- Specified by:
issueFullCacheCheck
in interfaceStorageConnection
-
issueFullCacheCheck
public final void issueFullCacheCheck(StorageEntityCacheEvaluator entityEvaluator)
- Specified by:
issueFullCacheCheck
in interfaceStorageConnection
-
issueCacheCheck
public final boolean issueCacheCheck(long nanoTimeBudgetBound)
- Specified by:
issueCacheCheck
in interfaceStorageConnection
-
issueCacheCheck
public final boolean issueCacheCheck(long nanoTimeBudgetBound, StorageEntityCacheEvaluator entityEvaluator)
- Specified by:
issueCacheCheck
in interfaceStorageConnection
-
createStorageStatistics
public final StorageRawFileStatistics createStorageStatistics()
- Specified by:
createStorageStatistics
in interfaceStorageConnection
-
exportChannels
public final void exportChannels(StorageIoHandler fileHandler, boolean performGarbageCollection)
- Specified by:
exportChannels
in interfaceStorageConnection
-
exportTypes
public final StorageEntityTypeExportStatistics exportTypes(StorageEntityTypeExportFileProvider exportFileProvider, Predicate<? super StorageEntityTypeHandler> isExportType)
- Specified by:
exportTypes
in interfaceStorageConnection
-
importFiles
public final void importFiles(XGettingEnum<File> importFiles)
- Specified by:
importFiles
in interfaceStorageConnection
-
-