public class TransportStats extends java.lang.Object implements Writeable, ToXContentFragment
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
TransportStats(long serverOpen,
long rxCount,
long rxSize,
long txCount,
long txSize) |
TransportStats(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
long |
getRxCount() |
ByteSizeValue |
getRxSize() |
long |
getServerOpen() |
long |
getTxCount() |
ByteSizeValue |
getTxSize() |
long |
rxCount() |
ByteSizeValue |
rxSize() |
long |
serverOpen() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
long |
txCount() |
ByteSizeValue |
txSize() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic TransportStats(long serverOpen,
long rxCount,
long rxSize,
long txCount,
long txSize)
public TransportStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic long serverOpen()
public long getServerOpen()
public long rxCount()
public long getRxCount()
public ByteSizeValue rxSize()
public ByteSizeValue getRxSize()
public long txCount()
public long getTxCount()
public ByteSizeValue txSize()
public ByteSizeValue getTxSize()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException