Writeable
, ToXContent
, ToXContentFragment
public static class ThreadPool.Info extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Constructor | Description |
---|---|
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) |
|
Info(StreamInput in) |
Modifier and Type | Method | 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