Class ThreadPoolStats.Stats

java.lang.Object
org.elasticsearch.threadpool.ThreadPoolStats.Stats
All Implemented Interfaces:
Comparable<ThreadPoolStats.Stats>, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
Enclosing class:
ThreadPoolStats

public static class ThreadPoolStats.Stats extends Object implements Writeable, org.elasticsearch.xcontent.ToXContentFragment, Comparable<ThreadPoolStats.Stats>
  • Constructor Details

    • Stats

      public Stats(String name, int threads, int queue, int active, long rejected, int largest, long completed)
    • Stats

      public Stats(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • getName

      public String getName()
    • getThreads

      public int getThreads()
    • getQueue

      public int getQueue()
    • getActive

      public int getActive()
    • getRejected

      public long getRejected()
    • getLargest

      public int getLargest()
    • getCompleted

      public long getCompleted()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • compareTo

      public int compareTo(ThreadPoolStats.Stats other)
      Specified by:
      compareTo in interface Comparable<ThreadPoolStats.Stats>