Class RemoteConnectionInfo

java.lang.Object
org.elasticsearch.client.cluster.RemoteConnectionInfo

public final class RemoteConnectionInfo extends Object
This class encapsulates all remote cluster information to be rendered on _remote/info requests.
  • Method Details

    • isConnected

      public boolean isConnected()
    • getClusterAlias

      public String getClusterAlias()
    • getModeInfo

      public RemoteConnectionInfo.ModeInfo getModeInfo()
    • getInitialConnectionTimeoutString

      public String getInitialConnectionTimeoutString()
    • isSkipUnavailable

      public boolean isSkipUnavailable()
    • fromXContent

      public static RemoteConnectionInfo fromXContent(org.elasticsearch.xcontent.XContentParser parser, String clusterAlias) throws IOException
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object