Interface RoutingControl

All Superinterfaces:
Serializable

public sealed interface RoutingControl extends Serializable
Defines routing mode for query.
Since:
5.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RoutingControl
    Routes to the followers in the cluster.
    static final RoutingControl
    Routes to the leader of the cluster.
  • Field Details

    • WRITE

      static final RoutingControl WRITE
      Routes to the leader of the cluster.
      Since:
      5.8
    • READ

      static final RoutingControl READ
      Routes to the followers in the cluster.
      Since:
      5.8