Package org.opensearch.client.cluster
Class RemoteConnectionInfo
- java.lang.Object
-
- org.opensearch.client.cluster.RemoteConnectionInfo
-
public final class RemoteConnectionInfo extends java.lang.ObjectThis class encapsulates all remote cluster information to be rendered on_remote/inforequests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemoteConnectionInfo.ModeInfo
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static RemoteConnectionInfofromXContent(org.opensearch.common.xcontent.XContentParser parser, java.lang.String clusterAlias)java.lang.StringgetClusterAlias()java.lang.StringgetInitialConnectionTimeoutString()RemoteConnectionInfo.ModeInfogetModeInfo()inthashCode()booleanisConnected()booleanisSkipUnavailable()
-
-
-
Method Detail
-
isConnected
public boolean isConnected()
-
getClusterAlias
public java.lang.String getClusterAlias()
-
getModeInfo
public RemoteConnectionInfo.ModeInfo getModeInfo()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-