org.elasticsearch.threadpool
Class ThreadPoolStats.Stats
java.lang.Object
org.elasticsearch.threadpool.ThreadPoolStats.Stats
- All Implemented Interfaces:
- Streamable, ToXContent
- Enclosing class:
- ThreadPoolStats
public static class ThreadPoolStats.Stats
- extends Object
- implements Streamable, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolStats.Stats
public ThreadPoolStats.Stats(String name,
int threads,
int queue,
int active,
long rejected)
name
public String name()
getName
public String getName()
threads
public int threads()
getThreads
public int getThreads()
queue
public int queue()
getQueue
public int getQueue()
active
public int active()
getActive
public int getActive()
rejected
public long rejected()
getRejected
public long getRejected()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.