Package io.micronaut.microstream.conf
Class StorageManagerFactory
java.lang.Object
io.micronaut.microstream.conf.StorageManagerFactory
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionStorageManagerFactory
(io.micronaut.context.BeanContext beanContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionone.microstream.storage.types.StorageManager
createStorageManager
(one.microstream.storage.embedded.types.EmbeddedStorageFoundation<?> foundation, String name)
-
Constructor Details
-
StorageManagerFactory
public StorageManagerFactory(io.micronaut.context.BeanContext beanContext) Constructor.- Parameters:
beanContext
- Bean Context.
-
-
Method Details
-
createStorageManager
@EachBean(one.microstream.storage.embedded.types.EmbeddedStorageFoundation.class) @Bean(preDestroy="shutdown") @Singleton public one.microstream.storage.types.StorageManager createStorageManager(one.microstream.storage.embedded.types.EmbeddedStorageFoundation<?> foundation, @Parameter String name) - Parameters:
foundation
- EmbeddedStorageFoundationname
- Name qualifier- Returns:
- EmbeddedStorageManager
-