Class NodeUsage

All Implemented Interfaces:
Writeable, ToXContent, ToXContentFragment

public class NodeUsage
extends BaseNodeResponse
implements ToXContentFragment
  • Constructor Details

    • NodeUsage

      public NodeUsage​(StreamInput in) throws
    • NodeUsage

      public NodeUsage​(DiscoveryNode node, long timestamp, long sinceTime, java.util.Map<java.lang.String,​java.lang.Long> restUsage)
      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