public class TransportStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
TransportStats(long serverOpen,
long rxCount,
long rxSize,
long txCount,
long txSize) |
| Modifier and Type | Method and Description |
|---|---|
long |
getRxCount() |
ByteSizeValue |
getRxSize() |
long |
getServerOpen() |
long |
getTxCount() |
ByteSizeValue |
getTxSize() |
void |
readFrom(StreamInput in) |
static TransportStats |
readTransportStats(StreamInput in) |
long |
rxCount() |
ByteSizeValue |
rxSize() |
long |
serverOpen() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
long |
txCount() |
ByteSizeValue |
txSize() |
void |
writeTo(StreamOutput out) |
public TransportStats(long serverOpen,
long rxCount,
long rxSize,
long txCount,
long txSize)
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 static TransportStats readTransportStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.