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 StringRequired - The UUID of the remote cluster.final intRequired - The total number of indices in the remote cluster.final StringTotal data set size of all shards assigned to selected nodes, as a human-readable string.final longRequired - Total data set size, in bytes, of all shards assigned to selected nodes.final StringmaxHeap()Maximum amount of memory available for use by the heap across the nodes of the remote cluster, as a human-readable string.final longRequired - Maximum amount of memory, in bytes, available for use by the heap across the nodes of the remote cluster.final StringmemTotal()Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.final longRequired - Total amount, in bytes, of physical memory across the nodes of the remote cluster.final Stringmode()Required - The connection mode used to communicate with the remote cluster.final intRequired - The total count of nodes in the remote cluster.static RemoteClusterInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intRequired - The total number of shards in the remote cluster.final booleanRequired - Theskip_unavailablesetting used for this remote cluster.final HealthStatusstatus()Required - Health status of the cluster, based on the state of its primary and replica shards.toString()final StringRequired - 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteClusterInfoDeserializer
protected static void setupRemoteClusterInfoDeserializer(ObjectDeserializer<RemoteClusterInfo.Builder> op)
-