Class ClusterRemoteProxyInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteProxyInfo
- All Implemented Interfaces:
ClusterRemoteInfoVariant,JsonpSerializable
@JsonpDeserializable
public class ClusterRemoteProxyInfo
extends Object
implements ClusterRemoteInfoVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterRemoteProxyInfo>Json deserializer forClusterRemoteProxyInfo -
Method Summary
Modifier and TypeMethodDescriptionClusterRemoteInfo variant kind.final StringThis field is present and has a value of::es_redacted::only when the remote cluster is configured with the API key based model.final booleanRequired - If it istrue, there is at least one open connection to the remote cluster.final TimeRequired - The initial connect timeout for remote cluster connections.final intRequired - The maximum number of socket connections to the remote cluster when proxy mode is configured.final intRequired - The number of open socket connections to the remote cluster when proxy mode is configured.static ClusterRemoteProxyInfofinal StringRequired - The address for remote connections when proxy mode is configured.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final StringRequired - API name:server_nameprotected static voidfinal booleanRequired - Iftrue, cross-cluster search skips the remote cluster when its nodes are unavailable during the search and ignores errors returned by the remote cluster.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteInfoVariant
_toClusterRemoteInfo
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterRemoteProxyInfo
-
-
Method Details
-
of
public static ClusterRemoteProxyInfo of(Function<ClusterRemoteProxyInfo.Builder, ObjectBuilder<ClusterRemoteProxyInfo>> fn) -
_clusterRemoteInfoKind
ClusterRemoteInfo variant kind.- Specified by:
_clusterRemoteInfoKindin interfaceClusterRemoteInfoVariant
-
connected
public final boolean connected()Required - If it istrue, there is at least one open connection to the remote cluster. If it isfalse, it means that the cluster no longer has an open connection to the remote cluster. It does not necessarily mean that the remote cluster is down or unavailable, just that at some point a connection was lost.API name:
connected -
initialConnectTimeout
Required - The initial connect timeout for remote cluster connections.API name:
initial_connect_timeout -
proxyAddress
Required - The address for remote connections when proxy mode is configured.API name:
proxy_address -
serverName
Required - API name:server_name -
numProxySocketsConnected
public final int numProxySocketsConnected()Required - The number of open socket connections to the remote cluster when proxy mode is configured.API name:
num_proxy_sockets_connected -
maxProxySocketConnections
public final int maxProxySocketConnections()Required - The maximum number of socket connections to the remote cluster when proxy mode is configured.API name:
max_proxy_socket_connections -
clusterCredentials
This field is present and has a value of::es_redacted::only when the remote cluster is configured with the API key based model. Otherwise, the field is not present.API name:
cluster_credentials -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op)
-