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 String
This field is present and has a value of::es_redacted::
only when the remote cluster is configured with the API key based model.final boolean
Required - If it istrue
, there is at least one open connection to the remote cluster.final Time
Required - The initial connect timeout for remote cluster connections.final int
Required - The maximum number of socket connections to the remote cluster when proxy mode is configured.final int
Required - The number of open socket connections to the remote cluster when proxy mode is configured.static ClusterRemoteProxyInfo
final String
Required - The address for remote connections when proxy mode is configured.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final String
Required - API name:server_name
protected static void
final boolean
Required - 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, wait
Methods 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:
_clusterRemoteInfoKind
in 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op)
-