public static class ThreadPool.Info extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
ThreadPool.Info(String name,
ThreadPool.ThreadPoolType type) |
ThreadPool.Info(String name,
ThreadPool.ThreadPoolType type,
int size) |
ThreadPool.Info(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() |
String |
getName() |
SizeValue |
getQueueSize() |
ThreadPool.ThreadPoolType |
getThreadPoolType() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public ThreadPool.Info(String name, ThreadPool.ThreadPoolType type)
public ThreadPool.Info(String name, ThreadPool.ThreadPoolType type, int size)
public String getName()
public ThreadPool.ThreadPoolType getThreadPoolType()
public int getMin()
public int getMax()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.