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