org.elasticsearch.http
Class HttpStats

java.lang.Object
  extended by org.elasticsearch.http.HttpStats
All Implemented Interfaces:
Streamable, ToXContent

public class HttpStats
extends java.lang.Object
implements Streamable, ToXContent


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
HttpStats(long serverOpen)
           
 
Method Summary
 long getServerOpen()
           
 void readFrom(StreamInput in)
           
static HttpStats readHttpStats(StreamInput in)
           
 long serverOpen()
           
 XContentBuilder 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

HttpStats

public HttpStats(long serverOpen)
Method Detail

serverOpen

public long serverOpen()

getServerOpen

public long getServerOpen()

readHttpStats

public static HttpStats readHttpStats(StreamInput in)
                               throws java.io.IOException
Throws:
java.io.IOException

readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Throws:
java.io.IOException

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws java.io.IOException
Specified by:
toXContent in interface ToXContent
Throws:
java.io.IOException