public class ProcessInfo extends java.lang.Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ProcessInfo(long id,
boolean mlockall) |
Modifier and Type | Method and Description |
---|---|
long |
getId()
The process id.
|
long |
getRefreshInterval() |
boolean |
isMlockall() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static ProcessInfo |
readProcessInfo(StreamInput in) |
long |
refreshInterval() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public long refreshInterval()
public long getRefreshInterval()
public long getId()
public boolean isMlockall()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public static ProcessInfo readProcessInfo(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException