public static class ThreadPoolStats.Stats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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 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–2015. All rights reserved.