public class ThreadPoolStats extends Object implements Streamable, ToXContent, Iterable<ThreadPoolStats.Stats>
Modifier and Type | Class and Description |
---|---|
static class |
ThreadPoolStats.Stats |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ThreadPoolStats(List<ThreadPoolStats.Stats> stats) |
Modifier and Type | Method and Description |
---|---|
Iterator<ThreadPoolStats.Stats> |
iterator() |
void |
readFrom(StreamInput in) |
static ThreadPoolStats |
readThreadPoolStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public ThreadPoolStats(List<ThreadPoolStats.Stats> stats)
public Iterator<ThreadPoolStats.Stats> iterator()
iterator
in interface Iterable<ThreadPoolStats.Stats>
public static ThreadPoolStats readThreadPoolStats(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.