Class RemoteConnectionInfo

java.lang.Object
org.elasticsearch.transport.RemoteConnectionInfo
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public final class RemoteConnectionInfo extends Object implements org.elasticsearch.common.xcontent.ToXContentFragment, Writeable
This class encapsulates all remote cluster information to be rendered on _remote/info requests.
  • Constructor Details

  • Method Details

    • isConnected

      public boolean isConnected()
    • getClusterAlias

      public String getClusterAlias()
    • getModeInfo

      public RemoteConnectionInfo.ModeInfo getModeInfo()
    • getInitialConnectionTimeout

      public org.elasticsearch.core.TimeValue getInitialConnectionTimeout()
    • isSkipUnavailable

      public boolean isSkipUnavailable()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object