Class NodeStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.NodeStatistics
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeStatistics>Json deserializer forNodeStatistics -
Method Summary
Modifier and TypeMethodDescriptionfinal intfailed()Required - Number of nodes that rejected the request or failed to respond.final List<ErrorCause>failures()API name:failuresstatic NodeStatisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intRequired - Number of nodes that responded successfully to the request.toString()final inttotal()Required - Total number of nodes selected by the request.
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeStatistics
-
-
Method Details
-
of
-
failures
API name:failures -
total
public final int total()Required - Total number of nodes selected by the request.API name:
total -
successful
public final int successful()Required - Number of nodes that responded successfully to the request.API name:
successful -
failed
public final int failed()Required - Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.API name:
failed -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupNodeStatisticsDeserializer
protected static void setupNodeStatisticsDeserializer(ObjectDeserializer<NodeStatistics.Builder> op)
-