Class ShardStatistics

All Implemented Interfaces:

public class ShardStatistics
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static ShardStatistics of​(java.util.function.Function<ShardStatistics.Builder,​ObjectBuilder<ShardStatistics>> fn)
    • failed

      public final java.lang.Number failed()
      Required - API name: failed
    • successful

      public final java.lang.Number successful()
      Required - API name: successful
    • total

      public final java.lang.Number total()
      Required - API name: total
    • failures

      public final java.util.List<ShardFailure> failures()
      API name: failures
    • skipped

      @Nullable public final java.lang.Number skipped()
      API name: skipped
    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupShardStatisticsDeserializer

      protected static void setupShardStatisticsDeserializer​(ObjectDeserializer<ShardStatistics.Builder> op)