primaryActive
public boolean primaryActive()
Required - API name:
primary_active
JsonpSerializable
@JsonpDeserializable public final class ShardHealthStats extends java.lang.Object implements JsonpSerializable
Modifier and Type | Class | Description |
---|---|---|
static class |
ShardHealthStats.Builder |
Builder for
ShardHealthStats . |
Modifier and Type | Field | Description |
---|---|---|
static JsonpDeserializer<ShardHealthStats> |
_DESERIALIZER |
Json deserializer for
ShardHealthStats |
Constructor | Description |
---|---|
ShardHealthStats(ShardHealthStats.Builder builder) |
|
ShardHealthStats(java.util.function.Function<ShardHealthStats.Builder,ShardHealthStats.Builder> fn) |
Modifier and Type | Method | Description |
---|---|---|
int |
activeShards() |
Required - API name:
active_shards |
int |
initializingShards() |
Required - API name:
initializing_shards |
boolean |
primaryActive() |
Required - API name:
primary_active |
int |
relocatingShards() |
Required - API name:
relocating_shards |
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 |
setupShardHealthStatsDeserializer(DelegatingDeserializer<ShardHealthStats.Builder> op) |
|
Health |
status() |
Required - API name:
status |
int |
unassignedShards() |
Required - API name:
unassigned_shards |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ShardHealthStats
active_shards
initializing_shards
primary_active
relocating_shards
status
unassigned_shards
serialize
in interface JsonpSerializable