Annotation Type MicrostreamCache


  • @Qualifier
    @Retention(RUNTIME)
    @Target({PARAMETER,FIELD})
    public @interface MicrostreamCache
    Creates a cache based upon the Microstream JCache implementation.
    See Microstream JCache

    Specify the cache name by the name property.

    The configNode property expects an existing Helidon config node providing configuration properties for the cache.
    See Microstream JCache configuration
    If not provided the properties below "one.microstream.cache.default" will be used if existing. Otherwise the build in defaults are applied.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      Specifies the cache name.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String configNode
      Specifies the configuration node used to configure the EmbeddedStorageManager instance to be created.
    • Element Detail

      • name

        String name
        Specifies the cache name.
        Returns:
        the cache name
      • configNode

        String configNode
        Specifies the configuration node used to configure the EmbeddedStorageManager instance to be created.
        Returns:
        the configuration node
        Default:
        "one.microstream.cache.default"