java.lang.Object
co.elastic.clients.elasticsearch.nodes.usage.NodeUsage
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class NodeUsage extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • restActions

      public final Map<String,Integer> restActions()
      Required - The total number of times each REST endpoint has been called on this node since the last restart. Note that the REST endpoint names are not considered stable.

      API name: rest_actions

    • since

      public final long since()
      Required - The timestamp for when the collection of these statistics started.

      API name: since

    • timestamp

      public final long timestamp()
      Required - The timestamp for when these statistics were collected.

      API name: timestamp

    • aggregations

      public final Map<String,JsonData> aggregations()
      Required - The total number of times search aggregations have been called on this node since the last restart.

      API name: aggregations

    • 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 String toString()
      Overrides:
      toString in class Object
    • rebuild

      public NodeUsage.Builder rebuild()
      Returns:
      New NodeUsage.Builder initialized with field values of this instance
    • setupNodeUsageDeserializer

      protected static void setupNodeUsageDeserializer(ObjectDeserializer<NodeUsage.Builder> op)