Class ClusterProcessor

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterProcessor
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

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

      public final long count()
      Required - API name: count
    • current

      public final long current()
      Required - API name: current
    • failed

      public final long failed()
      Required - API name: failed
    • timeInMillis

      public final long timeInMillis()
      Required - API name: time_in_millis
    • 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)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupClusterProcessorDeserializer

      protected static void setupClusterProcessorDeserializer​(ObjectDeserializer<ClusterProcessor.Builder> op)