public class ProcessStats extends java.lang.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)
Set this object's fields from a StreamInput.
|
static ProcessStats |
readProcessStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
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 java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic static ProcessStats readProcessStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException