public static class ThreadPool.Info extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, wait
isFragment
public 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.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public 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 ToXContent
java.io.IOException