Annotation Interface View


@Qualifier @Documented @Retention(RUNTIME) public @interface View
A qualifier annotation used when injecting a cache view.
Since:
20.06
Author:
Jonathan Knight 2019.10.24
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An annotation literal for the View annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    A flag that is true to cache both the keys and values of the materialized view locally, or false to only cache the keys (the default value is true).
  • Element Details

    • cacheValues

      boolean cacheValues
      A flag that is true to cache both the keys and values of the materialized view locally, or false to only cache the keys (the default value is true).
      Returns:
      true to indicate that values should be cached or false to indicate that only keys should be cached
      Default:
      true