Annotation Interface View


@Documented @Retention(RUNTIME) public @interface View
A qualifier annotation used when injecting a cache view.
Since:
3.0
Author:
Gunnar Hillert
  • 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