public static class ThreadPool.Info extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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 Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2015. All rights reserved.