Class NodeStatistics
java.lang.Object
org.opensearch.client.opensearch._types.NodeStatistics
- All Implemented Interfaces:
ToJsonp
public final class NodeStatistics extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeStatistics.BuilderBuilder forNodeStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeStatistics>DESERIALIZERJson deserializer for NodeStatistics -
Constructor Summary
Constructors Modifier Constructor Description protectedNodeStatistics(NodeStatistics.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Numberfailed()Number of nodes that rejected the request or failed to respond.java.util.List<ErrorCause>failures()API name:failuresprotected static voidsetupNodeStatisticsDeserializer(DelegatingDeserializer<NodeStatistics.Builder> op)java.lang.Numbersuccessful()Number of nodes that responded successfully to the request.voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Numbertotal()Total number of nodes selected by the request.
-
Field Details
-
DESERIALIZER
Json deserializer for NodeStatistics
-
-
Constructor Details
-
Method Details
-
failures
API name:failures -
total
public java.lang.Number total()Total number of nodes selected by the request. API name:total -
successful
public java.lang.Number successful()Number of nodes that responded successfully to the request. API name:successful -
failed
public java.lang.Number failed()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 -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupNodeStatisticsDeserializer
protected static void setupNodeStatisticsDeserializer(DelegatingDeserializer<NodeStatistics.Builder> op)
-