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.ParamsEMPTY_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 ToXContentIOExceptionpublic static ProcessStats readProcessStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.