Writeable
, ToXContent
, ToXContentFragment
public class TransportStats extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Constructor | Description |
---|---|
TransportStats(long serverOpen,
long rxCount,
long rxSize,
long txCount,
long txSize) |
|
TransportStats(StreamInput in) |
Modifier and Type | Method | 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, wait
isFragment
public TransportStats(long serverOpen, long rxCount, long rxSize, long txCount, long txSize)
public TransportStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public 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 ToXContent
java.io.IOException