Package org.elasticsearch.monitor.jvm
Class JvmStats
org.elasticsearch.monitor.jvm.JvmStats
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
public class JvmStats
extends
implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionJvmStats(long timestamp, long uptime, JvmStats.Mem mem, JvmStats.Threads threads, JvmStats.GarbageCollectors gc, <JvmStats.BufferPool> bufferPools, JvmStats.Classes classes)
JvmStats(StreamInput in)
-
Method Summary
Modifier and TypeMethodDescriptiongetGc()
getMem()
long
org.elasticsearch.core.TimeValue
static JvmStats
jvmStats()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
JvmStats
public JvmStats(long timestamp, long uptime, JvmStats.Mem mem, JvmStats.Threads threads, JvmStats.GarbageCollectors gc, <JvmStats.BufferPool> bufferPools, JvmStats.Classes classes) -
JvmStats
- Throws:
-
-
Method Details
-
jvmStats
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getTimestamp
public long getTimestamp() -
getUptime
public org.elasticsearch.core.TimeValue getUptime() -
getMem
-
getThreads
-
getGc
-
getBufferPools
-
getClasses
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
-