Class RemoteClusterInfo

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.RemoteClusterInfo
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class RemoteClusterInfo extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • clusterUuid

      public final String clusterUuid()
      Required - The UUID of the remote cluster.

      API name: cluster_uuid

    • mode

      public final String mode()
      Required - The connection mode used to communicate with the remote cluster.

      API name: mode

    • skipUnavailable

      public final boolean skipUnavailable()
      Required - The skip_unavailable setting used for this remote cluster.

      API name: skip_unavailable

    • transportCompress

      public final String transportCompress()
      Required - Transport compression setting used for this remote cluster.

      API name: transport.compress

    • status

      public final HealthStatus status()
      Required - Health status of the cluster, based on the state of its primary and replica shards.

      API name: status

    • version

      public final List<String> 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

      @Nullable public final String 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

      @Nullable public 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.

      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

      @Nullable public final String memTotal()
      Total amount of physical memory across the nodes of the remote cluster, as a human-readable string.

      API name: mem_total

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupRemoteClusterInfoDeserializer

      protected static void setupRemoteClusterInfoDeserializer(ObjectDeserializer<RemoteClusterInfo.Builder> op)