core/src/main/java/org/elasticsearch/action/support/replication/ReplicationRequest.java
@SuppressWarnings("unchecked")
    Request routedBasedOnClusterVersion(long routedBasedOnClusterVersion) {
        this.routedBasedOnClusterVersion = routedBasedOnClusterVersion;
        return (Request) this;
    }
/**
     * Sets the minimum version of the cluster state that is required on the next node before we redirect to another primary.
     * Used to prevent redirect loops, see also {@link TransportReplicationAction.ReroutePhase#doRun()}
     */
Sets the minimum version of the cluster state that is required on the next node before we redirect to another primary.
Used to prevent redirect loops, see also  TransportReplicationAction.ReroutePhase#doRun()
Sets the minimum version of the cluster state that is required on the next node before we redirect to another primary . Used to prevent redirect loops see also TransportReplicationAction . ReroutePhase#doRun ()
@SuppressWarnings("unchecked")
    Request routedBasedOnClusterVersion(long routedBasedOnClusterVersion) {
        this.routedBasedOnClusterVersion = routedBasedOnClusterVersion;
        return (Request) this;
    }
@ SuppressWarnings ( "unchecked" ) Request routedBasedOnClusterVersion ( long routedBasedOnClusterVersion ) { this . routedBasedOnClusterVersion = routedBasedOnClusterVersion ; return ( Request ) this ; }
Sets the minimum version of the cluster state that is required on the next node before we redirect to another primary.
Sets the minimum version of the cluster state that is required on the next node before we redirect to another primary .