Class StorageManagerFactory

java.lang.Object
io.micronaut.microstream.conf.StorageManagerFactory

@Factory public class StorageManagerFactory extends Object
Since:
1.0.0
Author:
Sergio del Amo
  • 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 - EmbeddedStorageFoundation
      name - Name qualifier
      Returns:
      EmbeddedStorageManager