All Implemented Interfaces:
Writeable, RefCounted, ToXContent, ToXContentFragment

public class NodeUsage extends BaseNodeResponse implements ToXContentFragment
  • Constructor Details

    • NodeUsage

      public NodeUsage(StreamInput in) throws IOException
    • NodeUsage

      public NodeUsage(DiscoveryNode node, long timestamp, long sinceTime, Map<String,Long> restUsage, Map<String,Object> aggregationUsage)
      node - the node these statistics were collected from
      timestamp - the timestamp for when these statistics were collected
      sinceTime - the timestamp for when the collection of these statistics started
      restUsage - a map containing the counts of the number of times each REST endpoint has been called
  • Method Details