Class DefaultRootProvider<T>

java.lang.Object
io.micronaut.microstream.DefaultRootProvider<T>
Type Parameters:
T - The Root Instance Type
All Implemented Interfaces:
RootProvider<T>

@EachBean(one.microstream.storage.types.StorageManager.class) public class DefaultRootProvider<T> extends Object implements RootProvider<T>
Creates a bean of type RootProvider for each StorageManager.
  • Constructor Details

    • DefaultRootProvider

      public DefaultRootProvider(one.microstream.storage.types.StorageManager storageManager)
      Parameters:
      storageManager - StorageManager
  • Method Details

    • root

      public T root()
      Specified by:
      root in interface RootProvider<T>
      Returns:
      Root Instance.