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
-
Element Details
-
value
String valueConfigure the read preference mode.- Returns:
- read preference mode.
- Default:
- ""
-