Package one.microstream.storage.types
Interface StorageConfiguration
- All Known Implementing Classes:
StorageConfiguration.Default
public interface StorageConfiguration
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageConfiguration.Builder<B extends StorageConfiguration.Builder<?>>
static class
StorageConfiguration.Default
-
Method Summary
-
Method Details
-
channelCountProvider
StorageChannelCountProvider channelCountProvider() -
housekeepingController
StorageHousekeepingController housekeepingController() -
entityCacheEvaluator
StorageEntityCacheEvaluator entityCacheEvaluator() -
fileProvider
StorageFileProvider fileProvider() -
dataFileEvaluator
StorageDataFileEvaluator dataFileEvaluator() -
backupSetup
StorageBackupSetup backupSetup() -
New
Pseudo-constructor method to create a newStorageConfiguration
instance usingnull
as theStorageBackupSetup
part and default instances for everything else.For explanations and customizing values, see
StorageConfiguration.Builder
.- Returns:
- a new
StorageConfiguration
instance. - See Also:
New(StorageFileProvider)
,StorageConfiguration.Builder
-
New
Pseudo-constructor method to create a newStorageConfiguration
instance using the passedStorageFileProvider
,null
as theStorageBackupSetup
part and default instances for everything else.For explanations and customizing values, see
StorageConfiguration.Builder
.- Parameters:
fileProvider
- theStorageFileProvider
to provide directory and file names.- Returns:
- a new
StorageConfiguration
instance. - See Also:
New()
,StorageConfiguration.Builder
-
New
static StorageConfiguration New(StorageChannelCountProvider channelCountProvider, StorageHousekeepingController housekeepingController, StorageFileProvider fileProvider, StorageDataFileEvaluator dataFileEvaluator, StorageEntityCacheEvaluator entityCacheEvaluator, StorageBackupSetup backupSetup) -
Builder
Pseudo-constructor method to create a newStorageConfiguration.Builder
instance.For explanations and customizing values, see
StorageConfiguration.Builder
.- Returns:
- a new
StorageConfiguration.Builder
instance. - See Also:
StorageConfiguration.Builder
,StorageConfiguration
-