public static class ThreadPool.Info extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
Info(String name,
String type) |
Info(String name,
String type,
int size) |
Info(String name,
String 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() |
String |
getType() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public String getName()
public String getType()
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–2016. All rights reserved.