Interface RemoteClusterAwareRequest


public interface RemoteClusterAwareRequest
  • Method Summary

    Modifier and Type Method Description
    DiscoveryNode getPreferredTargetNode()
    Returns the preferred discovery node for this request.
  • Method Details

    • getPreferredTargetNode

      DiscoveryNode getPreferredTargetNode()
      Returns the preferred discovery node for this request. The remote cluster client will attempt to send this request directly to this node. Otherwise, it will send the request as a proxy action that will be routed by the remote cluster to this node.
      Returns:
      preferred discovery node