Class RemoteClusterInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.RemoteClusterInfo
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteClusterInfo>
Json deserializer forRemoteClusterInfo
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - The UUID of the remote cluster.final int
Required - The total number of indices in the remote cluster.final String
Total data set size of all shards assigned to selected nodes, as a human-readable string.final long
Required - Total data set size, in bytes, of all shards assigned to selected nodes.final String
maxHeap()
Maximum amount of memory available for use by the heap across the nodes of the remote cluster, as a human-readable string.final long
Required - Maximum amount of memory, in bytes, available for use by the heap across the nodes of the remote cluster.final String
memTotal()
Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.final long
Required - Total amount, in bytes, of physical memory across the nodes of the remote cluster.final String
mode()
Required - The connection mode used to communicate with the remote cluster.final int
Required - The total count of nodes in the remote cluster.static RemoteClusterInfo
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final int
Required - The total number of shards in the remote cluster.final boolean
Required - Theskip_unavailable
setting used for this remote cluster.final HealthStatus
status()
Required - Health status of the cluster, based on the state of its primary and replica shards.toString()
final String
Required - Transport compression setting used for this remote cluster.version()
Required - The list of Elasticsearch versions used by the nodes on the remote cluster.
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoteClusterInfo
-
-
Method Details
-
of
public static RemoteClusterInfo of(Function<RemoteClusterInfo.Builder, ObjectBuilder<RemoteClusterInfo>> fn) -
clusterUuid
Required - The UUID of the remote cluster.API name:
cluster_uuid
-
mode
Required - The connection mode used to communicate with the remote cluster.API name:
mode
-
transportCompress
Required - Transport compression setting used for this remote cluster.API name:
transport_compress
-
status
Required - Health status of the cluster, based on the state of its primary and replica shards.API name:
status
-
version
Required - The list of Elasticsearch versions used by the nodes on the remote cluster.API name:
version
-
nodesCount
public final int nodesCount()Required - The total count of nodes in the remote cluster.API name:
nodes_count
-
shardsCount
public final int shardsCount()Required - The total number of shards in the remote cluster.API name:
shards_count
-
indicesCount
public final int indicesCount()Required - The total number of indices in the remote cluster.API name:
indices_count
-
indicesTotalSizeInBytes
public final long indicesTotalSizeInBytes()Required - Total data set size, in bytes, of all shards assigned to selected nodes.API name:
indices_total_size_in_bytes
-
indicesTotalSize
Total data set size of all shards assigned to selected nodes, as a human-readable string.API name:
indices_total_size
-
maxHeapInBytes
public final long maxHeapInBytes()Required - Maximum amount of memory, in bytes, available for use by the heap across the nodes of the remote cluster.API name:
max_heap_in_bytes
-
maxHeap
Maximum amount of memory available for use by the heap across the nodes of the remote cluster, as a human-readable string.API name:
max_heap
-
memTotalInBytes
public final long memTotalInBytes()Required - Total amount, in bytes, of physical memory across the nodes of the remote cluster.API name:
mem_total_in_bytes
-
memTotal
Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.API name:
mem_total
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteClusterInfoDeserializer
protected static void setupRemoteClusterInfoDeserializer(ObjectDeserializer<RemoteClusterInfo.Builder> op)
-