Annotation Interface StoreRoot


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface StoreRoot
An around annotation for methods which saves the Root Object of a MicroStream instance.
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The optional name qualifier of the StorageManager to use.
    The Storing strategy.
  • Element Details

    • name

      @AliasFor(member="value") String name
      The optional name qualifier of the StorageManager to use. If your application only have a MicroStream instance, this is not required
      Returns:
      The name qualifier of the StorageManager to use.
      Default:
      ""
    • strategy

      StoringStrategy strategy
      The Storing strategy. Defaults to Lazy.
      Returns:
      Storing Strategy;
      Default:
      LAZY