public class ProcessStats extends Object implements Streamable, ToXContent
Modifier and Type | Class and Description |
---|---|
static class |
ProcessStats.Cpu |
static class |
ProcessStats.Mem |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
ProcessStats.Cpu |
getCpu() |
long |
getMaxFileDescriptors() |
ProcessStats.Mem |
getMem() |
long |
getOpenFileDescriptors() |
long |
getTimestamp() |
void |
readFrom(StreamInput in) |
static ProcessStats |
readProcessStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long getTimestamp()
public long getOpenFileDescriptors()
public long getMaxFileDescriptors()
public ProcessStats.Cpu getCpu()
public ProcessStats.Mem getMem()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public static ProcessStats readProcessStats(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
Copyright © 2009–2016. All rights reserved.