public static class ClusterStatsNodes.JvmStats extends java.lang.Object implements Writeable<ClusterStatsNodes.JvmStats>, ToXContent
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
ByteSizeValue |
getHeapMax()
Maximum total heap available to the cluster
|
ByteSizeValue |
getHeapUsed()
Total heap used in the cluster
|
TimeValue |
getMaxUpTime()
The maximum uptime of a node in the cluster
|
long |
getThreads()
The total number of threads in the cluster
|
com.carrotsearch.hppc.ObjectIntHashMap<ClusterStatsNodes.JvmVersion> |
getVersions() |
ClusterStatsNodes.JvmStats |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public com.carrotsearch.hppc.ObjectIntHashMap<ClusterStatsNodes.JvmVersion> getVersions()
public long getThreads()
public TimeValue getMaxUpTime()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public ClusterStatsNodes.JvmStats readFrom(StreamInput in) throws java.io.IOException
StreamableReader
readFrom
in interface StreamableReader<ClusterStatsNodes.JvmStats>
readFrom
in interface Writeable<ClusterStatsNodes.JvmStats>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable<ClusterStatsNodes.JvmStats>
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException