Class NodeStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.NodeStatistics
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeStatistics>
Json deserializer forNodeStatistics
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
failed()
Required - Number of nodes that rejected the request or failed to respond.final List<ErrorCause>
failures()
API name:failures
static NodeStatistics
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
final int
Required - Number of nodes that responded successfully to the request.toString()
final int
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupNodeStatisticsDeserializer
protected static void setupNodeStatisticsDeserializer(ObjectDeserializer<NodeStatistics.Builder> op)
-