public static class ThreadPool.Info extends java.lang.Object implements Writeable, ToXContentFragment
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
Info(StreamInput in) |
Info(java.lang.String name,
ThreadPool.ThreadPoolType type) |
Info(java.lang.String name,
ThreadPool.ThreadPoolType type,
int size) |
Info(java.lang.String name,
ThreadPool.ThreadPoolType type,
int min,
int max,
TimeValue keepAlive,
SizeValue queueSize) |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
getKeepAlive() |
int |
getMax() |
int |
getMin() |
java.lang.String |
getName() |
SizeValue |
getQueueSize() |
ThreadPool.ThreadPoolType |
getThreadPoolType() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Info(java.lang.String name,
ThreadPool.ThreadPoolType type)
public Info(java.lang.String name,
ThreadPool.ThreadPoolType type,
int size)
public Info(java.lang.String name,
ThreadPool.ThreadPoolType type,
int min,
int max,
@Nullable
TimeValue keepAlive,
@Nullable
SizeValue queueSize)
public Info(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.lang.String getName()
public ThreadPool.ThreadPoolType getThreadPoolType()
public int getMin()
public int getMax()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException