public class NetworkStats extends Object implements Streamable, Serializable, ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkStats.Tcp |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
NetworkStats.Tcp |
getTcp() |
long |
getTimestamp() |
void |
readFrom(StreamInput in) |
static NetworkStats |
readNetworkStats(StreamInput in) |
NetworkStats.Tcp |
tcp() |
long |
timestamp() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static NetworkStats readNetworkStats(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 long timestamp()
public long getTimestamp()
public NetworkStats.Tcp tcp()
public NetworkStats.Tcp getTcp()
Copyright © 2009–2016. All rights reserved.