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 Detail
-
channelCountProvider
StorageChannelCountProvider channelCountProvider()
-
housekeepingController
StorageHousekeepingController housekeepingController()
-
entityCacheEvaluator
StorageEntityCacheEvaluator entityCacheEvaluator()
-
fileProvider
StorageFileProvider fileProvider()
-
dataFileEvaluator
StorageDataFileEvaluator dataFileEvaluator()
-
backupSetup
StorageBackupSetup backupSetup()
-
New
static StorageConfiguration 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
static StorageConfiguration New(StorageFileProvider fileProvider)
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
static StorageConfiguration.Builder<?> 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
-
-