Class ShardHealthStats

java.lang.Object
co.elastic.clients.elasticsearch.cluster.health.ShardHealthStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class ShardHealthStats
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • activeShards

      public int activeShards()
      Required - API name: active_shards
    • initializingShards

      public int initializingShards()
      Required - API name: initializing_shards
    • primaryActive

      public boolean primaryActive()
      Required - API name: primary_active
    • relocatingShards

      public int relocatingShards()
      Required - API name: relocating_shards
    • status

      public Health status()
      Required - API name: status
    • unassignedShards

      public int unassignedShards()
      Required - API name: unassigned_shards
    • 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)
    • setupShardHealthStatsDeserializer

      protected static void setupShardHealthStatsDeserializer​(DelegatingDeserializer<ShardHealthStats.Builder> op)