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
StorageLiveFileProvider 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(StorageLiveFileProvider)
,StorageConfiguration.Builder
-
New
Pseudo-constructor method to create a newStorageConfiguration
instance using the passedStorageLiveFileProvider
,null
as theStorageBackupSetup
part and default instances for everything else.For explanations and customizing values, see
StorageConfiguration.Builder
.- Parameters:
fileProvider
- theStorageLiveFileProvider
to provide directory and file names.- Returns:
- a new
StorageConfiguration
instance. - See Also:
New()
,StorageConfiguration.Builder
-
New
static StorageConfiguration New(StorageChannelCountProvider channelCountProvider, StorageHousekeepingController housekeepingController, StorageLiveFileProvider 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
-