Annotation Interface FollowerRead


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface FollowerRead
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the boolean method parameter that controls follower reads.
  • Element Details

    • staleParam

      String staleParam
      Name of the boolean method parameter that controls follower reads. When that parameter is true, the method runs inside a read-only transaction with AS OF SYSTEM TIME follower_read_timestamp(). Set to empty string to always use follower reads.
      Default:
      "stale"