public class ProcessInfo extends Object implements Streamable, Serializable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
ProcessInfo(long id,
long maxFileDescriptors) |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
The process id.
|
long |
getMaxFileDescriptors() |
long |
getRefreshInterval() |
long |
id()
The process id.
|
boolean |
isMlockall() |
long |
maxFileDescriptors() |
boolean |
mlockAll() |
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 id()
public long getId()
public long maxFileDescriptors()
public long getMaxFileDescriptors()
public boolean mlockAll()
public boolean isMlockall()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static ProcessInfo readProcessInfo(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.