Class RemoteConnectionInfo


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

      • isConnected

        public boolean isConnected()
      • getClusterAlias

        public java.lang.String getClusterAlias()
      • getInitialConnectionTimeoutString

        public java.lang.String getInitialConnectionTimeoutString()
      • isSkipUnavailable

        public boolean isSkipUnavailable()
      • fromXContent

        public static RemoteConnectionInfo fromXContent​(org.opensearch.common.xcontent.XContentParser parser,
                                                        java.lang.String clusterAlias)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object