org.elasticsearch.threadpool
Class ThreadPoolStats

java.lang.Object
  extended by org.elasticsearch.threadpool.ThreadPoolStats
All Implemented Interfaces:
Iterable<ThreadPoolStats.Stats>, Streamable, ToXContent

public class ThreadPoolStats
extends Object
implements Streamable, ToXContent, Iterable<ThreadPoolStats.Stats>


Nested Class Summary
static class ThreadPoolStats.Stats
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
ThreadPoolStats(List<ThreadPoolStats.Stats> stats)
           
 
Method Summary
 Iterator<ThreadPoolStats.Stats> iterator()
           
 void readFrom(StreamInput in)
           
static ThreadPoolStats readThreadPoolStats(StreamInput in)
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolStats

public ThreadPoolStats(List<ThreadPoolStats.Stats> stats)
Method Detail

iterator

public Iterator<ThreadPoolStats.Stats> iterator()
Specified by:
iterator in interface Iterable<ThreadPoolStats.Stats>

readThreadPoolStats

public static ThreadPoolStats readThreadPoolStats(StreamInput in)
                                           throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.