Class HealthRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.health.HealthRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final 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 -
Constructor Summary
Constructors Constructor Description HealthRecord(HealthRecord.Builder builder)HealthRecord(java.util.function.Function<HealthRecord.Builder,HealthRecord.Builder> fn) -
Method Summary
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 nodesjava.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(DelegatingDeserializer<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 shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHealthRecord
-
-
Constructor Details
-
HealthRecord
-
HealthRecord
-
-
Method Details
-
epoch
@Nullable public java.lang.String epoch()seconds since 1969-01-01 00:00:00API name:
epoch -
timestamp
@Nullable public java.lang.String timestamp()time in HH:MM:SSAPI name:
timestamp -
cluster
@Nullable public java.lang.String cluster()cluster nameAPI name:
cluster -
status
@Nullable public java.lang.String status()health statusAPI name:
status -
nodeTotal
@Nullable public java.lang.String nodeTotal()total number of nodesAPI name:
node.total -
nodeData
@Nullable public java.lang.String nodeData()number of nodes that can store dataAPI name:
node.data -
shards
@Nullable public java.lang.String shards()total number of shardsAPI name:
shards -
pri
@Nullable public java.lang.String pri()number of primary shardsAPI name:
pri -
relo
@Nullable public java.lang.String relo()number of relocating nodesAPI name:
relo -
init
@Nullable public java.lang.String init()number of initializing nodesAPI name:
init -
unassign
@Nullable public java.lang.String unassign()number of unassigned shardsAPI name:
unassign -
pendingTasks
@Nullable public java.lang.String pendingTasks()number of pending tasksAPI name:
pending_tasks -
maxTaskWaitTime
@Nullable public java.lang.String maxTaskWaitTime()wait time of longest task pendingAPI name:
max_task_wait_time -
activeShardsPercent
@Nullable public java.lang.String activeShardsPercent()active number of shards in percentAPI name:
active_shards_percent -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupHealthRecordDeserializer
protected static void setupHealthRecordDeserializer(DelegatingDeserializer<HealthRecord.Builder> op)
-