public class ProcessInfo extends 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) |
static ProcessInfo |
readProcessInfo(StreamInput in) |
long |
refreshInterval() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long refreshInterval()
public long getRefreshInterval()
public long getId()
public boolean isMlockall()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public static ProcessInfo readProcessInfo(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–2017. All rights reserved.