Class HealthRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.health.HealthRecord
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class HealthRecord extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthRecord.BuilderBuilder forHealthRecord.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HealthRecord>_DESERIALIZERJson deserializer forHealthRecord
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringactiveShardsPercent()active number of shards in percentjava.lang.Stringcluster()cluster namejava.lang.Stringepoch()seconds since 1969-01-01 00:00:00java.lang.Stringinit()number of initializing nodesjava.lang.StringmaxTaskWaitTime()wait time of longest task pendingjava.lang.StringnodeData()number of nodes that can store datajava.lang.StringnodeTotal()total number of nodesstatic HealthRecordof(java.util.function.Function<HealthRecord.Builder,ObjectBuilder<HealthRecord>> fn)java.lang.StringpendingTasks()number of pending tasksjava.lang.Stringpri()number of primary shardsjava.lang.Stringrelo()number of relocating nodesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHealthRecordDeserializer(ObjectDeserializer<HealthRecord.Builder> op)java.lang.Stringshards()total number of shardsjava.lang.Stringstatus()health statusjava.lang.Stringtimestamp()time in HH:MM:SSjava.lang.Stringunassign()number of unassigned shards
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<HealthRecord> _DESERIALIZER
Json deserializer forHealthRecord
-
-
Method Detail
-
of
public static HealthRecord of(java.util.function.Function<HealthRecord.Builder,ObjectBuilder<HealthRecord>> fn)
-
epoch
@Nullable public final java.lang.String epoch()
seconds since 1969-01-01 00:00:00API name:
epoch
-
timestamp
@Nullable public final java.lang.String timestamp()
time in HH:MM:SSAPI name:
timestamp
-
cluster
@Nullable public final java.lang.String cluster()
cluster nameAPI name:
cluster
-
status
@Nullable public final java.lang.String status()
health statusAPI name:
status
-
nodeTotal
@Nullable public final java.lang.String nodeTotal()
total number of nodesAPI name:
node.total
-
nodeData
@Nullable public final java.lang.String nodeData()
number of nodes that can store dataAPI name:
node.data
-
shards
@Nullable public final java.lang.String shards()
total number of shardsAPI name:
shards
-
pri
@Nullable public final java.lang.String pri()
number of primary shardsAPI name:
pri
-
relo
@Nullable public final java.lang.String relo()
number of relocating nodesAPI name:
relo
-
init
@Nullable public final java.lang.String init()
number of initializing nodesAPI name:
init
-
unassign
@Nullable public final java.lang.String unassign()
number of unassigned shardsAPI name:
unassign
-
pendingTasks
@Nullable public final java.lang.String pendingTasks()
number of pending tasksAPI name:
pending_tasks
-
maxTaskWaitTime
@Nullable public final java.lang.String maxTaskWaitTime()
wait time of longest task pendingAPI name:
max_task_wait_time
-
activeShardsPercent
@Nullable public final java.lang.String activeShardsPercent()
active number of shards in percentAPI name:
active_shards_percent
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupHealthRecordDeserializer
protected static void setupHealthRecordDeserializer(ObjectDeserializer<HealthRecord.Builder> op)
-
-