org.elasticsearch.threadpool
Class ThreadPoolInfo
java.lang.Object
org.elasticsearch.threadpool.ThreadPoolInfo
- All Implemented Interfaces:
- Iterable<ThreadPool.Info>, Streamable, ToXContent
public class ThreadPoolInfo
- extends Object
- implements Streamable, Iterable<ThreadPool.Info>, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolInfo
public ThreadPoolInfo(List<ThreadPool.Info> infos)
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.