Class StorageManagerProvider
java.lang.Object
one.microstream.integrations.spring.boot.types.config.StorageManagerProvider
@Component public class StorageManagerProvider extends Object
Bean that can provide initialized instances of the MicroStream StorageManager.
When called programmatically, it creates a new StorageManager or retrieves the previously created one.
This class will also be used when using the Spring beans directly (with or without @Primary)
-
Field Summary
Fields Modifier and Type Field Description static String
PRIMARY_QUALIFIER
-
Constructor Summary
Constructors Constructor Description StorageManagerProvider(List<EmbeddedStorageFoundationCustomizer> customizers, List<StorageManagerInitializer> initializers, Optional<StorageMetaData> storageMetaData, org.springframework.core.env.Environment env, org.springframework.context.ApplicationContext applicationContext)
-
Method Summary
Modifier and Type Method Description EmbeddedStorageFoundation<?>
embeddedStorageFoundation()
EmbeddedStorageManager
get(String qualifier)
-
Field Details
-
PRIMARY_QUALIFIER
- See Also:
- Constant Field Values
-
-
Constructor Details
-
StorageManagerProvider
public StorageManagerProvider(List<EmbeddedStorageFoundationCustomizer> customizers, List<StorageManagerInitializer> initializers, Optional<StorageMetaData> storageMetaData, org.springframework.core.env.Environment env, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details