public class ThreadPoolStats extends java.lang.Object implements Streamable, ToXContent, java.lang.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(java.util.List<ThreadPoolStats.Stats> stats) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ThreadPoolStats.Stats> |
iterator() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static ThreadPoolStats |
readThreadPoolStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public ThreadPoolStats(java.util.List<ThreadPoolStats.Stats> stats)
public java.util.Iterator<ThreadPoolStats.Stats> iterator()
iterator
in interface java.lang.Iterable<ThreadPoolStats.Stats>
public static ThreadPoolStats readThreadPoolStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException