org.elasticsearch.http
Class HttpStats
java.lang.Object
org.elasticsearch.http.HttpStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class HttpStats
- extends Object
- implements Streamable, ToXContent
Constructor Summary |
HttpStats(long serverOpen,
long totalOpen)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpStats
public HttpStats(long serverOpen,
long totalOpen)
serverOpen
public long serverOpen()
getServerOpen
public long getServerOpen()
totalOpen
public long totalOpen()
getTotalOpen
public long getTotalOpen()
readHttpStats
public static HttpStats readHttpStats(StreamInput in)
throws IOException
- Throws:
IOException
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.