Package org.elasticsearch.client.cluster
Class RemoteConnectionInfo
java.lang.Object
org.elasticsearch.client.cluster.RemoteConnectionInfo
public final class RemoteConnectionInfo
extends java.lang.Object
This class encapsulates all remote cluster information to be rendered on
_remote/info
requests.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RemoteConnectionInfo.ModeInfo
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static RemoteConnectionInfo
fromXContent(XContentParser parser, java.lang.String clusterAlias)
java.lang.String
getClusterAlias()
java.lang.String
getInitialConnectionTimeoutString()
RemoteConnectionInfo.ModeInfo
getModeInfo()
int
hashCode()
boolean
isConnected()
boolean
isSkipUnavailable()
-
Method Details
-
isConnected
public boolean isConnected() -
getClusterAlias
public java.lang.String getClusterAlias() -
getModeInfo
-
getInitialConnectionTimeoutString
public java.lang.String getInitialConnectionTimeoutString() -
isSkipUnavailable
public boolean isSkipUnavailable() -
fromXContent
public static RemoteConnectionInfo fromXContent(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 classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-