public static class ThreadPoolStats.Stats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
Stats(String name,
int threads,
int queue,
int active,
long rejected,
int largest,
long completed) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActive() |
long |
getCompleted() |
int |
getLargest() |
String |
getName() |
int |
getQueue() |
long |
getRejected() |
int |
getThreads() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public Stats(String name, int threads, int queue, int active, long rejected, int largest, long completed)
public String getName()
public int getThreads()
public int getQueue()
public int getActive()
public long getRejected()
public int getLargest()
public long getCompleted()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.