org.elasticsearch.threadpool
Class ThreadPoolInfo

java.lang.Object
  extended by org.elasticsearch.threadpool.ThreadPoolInfo
All Implemented Interfaces:
Iterable<ThreadPool.Info>, Streamable, ToXContent

public class ThreadPoolInfo
extends Object
implements Streamable, Iterable<ThreadPool.Info>, ToXContent


Nested Class Summary
 
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
ThreadPoolInfo(List<ThreadPool.Info> infos)
           
 
Method Summary
 Iterator<ThreadPool.Info> iterator()
           
 void readFrom(StreamInput in)
           
static ThreadPoolInfo readThreadPoolInfo(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

ThreadPoolInfo

public ThreadPoolInfo(List<ThreadPool.Info> infos)
Method Detail

iterator

public Iterator<ThreadPool.Info> iterator()
Specified by:
iterator in interface Iterable<ThreadPool.Info>

readThreadPoolInfo

public static ThreadPoolInfo readThreadPoolInfo(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.