Annotation Interface ReadPreference


@Retention(RUNTIME) @Target({TYPE,METHOD,ANNOTATION_TYPE}) @Documented public @interface ReadPreference
Annotation to declare read preference for repository and query.
Since:
4.2
Author:
Jorge Rodríguez, Christoph Strobl
See Also:
  • ReadPreference
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configure the read preference mode.
  • Element Details

    • value

      String value
      Configure the read preference mode.
      Returns:
      read preference mode.
      Default:
      ""