Writeable, ToXContent, ToXContentFragmentpublic class ProcessInfo extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
ProcessInfo(long id,
boolean mlockall,
long refreshInterval) |
|
ProcessInfo(StreamInput in) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getId() |
The process id.
|
long |
getRefreshInterval() |
|
boolean |
isMlockall() |
|
long |
refreshInterval() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic ProcessInfo(long id,
boolean mlockall,
long refreshInterval)
public ProcessInfo(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic 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 ToXContentjava.io.IOException