Writeable
, ToXContent
, ToXContentFragment
public class ProcessInfo extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.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, wait
isFragment
public ProcessInfo(long id, boolean mlockall, long refreshInterval)
public ProcessInfo(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
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