Class NodeStatistics

    • Method Detail

      • failures

        public final java.util.List<ErrorCause> 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

        public void serialize​(jakarta.json.stream.JsonGenerator generator,
                              JsonpMapper mapper)
        Serialize this object to JSON.
        Specified by:
        serialize in interface JsonpSerializable
      • serializeInternal

        protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator,
                                         JsonpMapper mapper)