public class ThreadPoolInfo extends Object implements Streamable, Iterable<ThreadPool.Info>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ThreadPoolInfo(List<ThreadPool.Info> infos) |
Modifier and Type | Method and Description |
---|---|
Iterator<ThreadPool.Info> |
iterator() |
void |
readFrom(StreamInput in) |
static ThreadPoolInfo |
readThreadPoolInfo(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public ThreadPoolInfo(List<ThreadPool.Info> infos)
public Iterator<ThreadPool.Info> iterator()
iterator
in interface Iterable<ThreadPool.Info>
public static ThreadPoolInfo readThreadPoolInfo(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.