|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.threadpool.ThreadPoolStats
public class ThreadPoolStats
Thread Pool level stats.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
ThreadPoolStats(int poolSize,
int activeCount,
int schedulerPoolSize,
int schedulerActiveCount)
|
Method Summary | |
---|---|
int |
activeCount()
Returns the approximate number of threads that are actively executing tasks. |
int |
getActiveCount()
Returns the approximate number of threads that are actively executing tasks. |
int |
getPoolSize()
Returns the current number of threads in the pool. |
int |
getSchedulerActiveCount()
The approximate number of threads that are actively executing scheduled tasks. |
int |
getSchedulerPoolSize()
The size of the scheduler thread pool. |
int |
poolSize()
Returns the current number of threads in the pool. |
void |
readFrom(StreamInput in)
|
static ThreadPoolStats |
readThreadPoolStats(StreamInput in)
|
int |
schedulerActiveCount()
The approximate number of threads that are actively executing scheduled tasks. |
int |
schedulerPoolSize()
The size of the scheduler thread pool. |
void |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
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 ThreadPoolStats(int poolSize, int activeCount, int schedulerPoolSize, int schedulerActiveCount)
Method Detail |
---|
public static ThreadPoolStats readThreadPoolStats(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 int poolSize()
public int getPoolSize()
public int activeCount()
public int getActiveCount()
public int schedulerPoolSize()
public int getSchedulerPoolSize()
public int schedulerActiveCount()
public int getSchedulerActiveCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |