|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.threadpool.ThreadPoolInfo
public class ThreadPoolInfo
Thread Pool Info.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.util.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.util.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
ThreadPoolInfo(java.lang.String type,
int minThreads,
int maxThreads,
int schedulerThreads)
|
Method Summary | |
---|---|
int |
getMaxThreads()
The maximum number of threads in the thread pool. |
int |
getMinThreads()
The minimum number of threads in the thread pool. |
int |
getSchedulerThreads()
The size of scheduler threads. |
java.lang.String |
getType()
The type of the thread pool. |
int |
maxThreads()
The maximum number of threads in the thread pool. |
int |
minThreads()
The minimum number of threads in the thread pool. |
void |
readFrom(StreamInput in)
|
static ThreadPoolInfo |
readThreadPoolInfo(StreamInput in)
|
int |
schedulerThreads()
The size of scheduler threads. |
void |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
java.lang.String |
type()
The type of the thread pool. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadPoolInfo(java.lang.String type, int minThreads, int maxThreads, int schedulerThreads)
Method Detail |
---|
public static ThreadPoolInfo readThreadPoolInfo(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
public void toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public java.lang.String type()
public java.lang.String getType()
public int minThreads()
public int getMinThreads()
public int maxThreads()
public int getMaxThreads()
public int schedulerThreads()
public int getSchedulerThreads()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |