Annotation Interface View


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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final 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