public static class ThreadPool.Info extends java.lang.Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
TimeValue |
getKeepAlive() |
int |
getMax() |
int |
getMin() |
java.lang.String |
getName() |
SizeValue |
getQueueSize() |
ThreadPool.ThreadPoolType |
getThreadPoolType() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
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 java.lang.String getName()
public ThreadPool.ThreadPoolType getThreadPoolType()
public int getMin()
public int getMax()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException