Package org.elasticsearch.monitor.jvm
Class JvmInfo
org.elasticsearch.monitor.jvm.JvmInfo
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,ReportingService.Info
-
Nested Class Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
long
long
[]
[]
getMem()
[]
long
getPid()
The process id.long
<,>
static JvmInfo
jvmInfo()
onError()
long
pid()
The process id.org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
The value of the JVM flag UseCompressedOops, if available otherwise "unknown".useG1GC()
version()
int
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
isFragment
-
Constructor Details
-
JvmInfo
- Throws:
-
-
Method Details
-
jvmInfo
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
pid
public long pid()The process id. -
getPid
public long getPid()The process id. -
version
public version() -
getVersion
public getVersion() -
versionUpdatePack
public int versionUpdatePack() -
getVmName
public getVmName() -
getVmVersion
public getVmVersion() -
getVmVendor
public getVmVendor() -
getBundledJdk
public boolean getBundledJdk() -
getUsingBundledJdk
public getUsingBundledJdk() -
getStartTime
public long getStartTime() -
getMem
-
getInputArguments
public [] getInputArguments() -
getBootClassPath
public getBootClassPath() -
getClassPath
public getClassPath() -
getSystemProperties
public <,> getSystemProperties() -
getConfiguredInitialHeapSize
public long getConfiguredInitialHeapSize() -
getConfiguredMaxHeapSize
public long getConfiguredMaxHeapSize() -
onError
public onError() -
onOutOfMemoryError
public onOutOfMemoryError() -
useCompressedOops
public useCompressedOops()The value of the JVM flag UseCompressedOops, if available otherwise "unknown". The value "unknown" indicates that an attempt was made to obtain the value of the flag on this JVM and the attempt failed.- Returns:
- the value of the JVM flag UseCompressedOops or "unknown"
-
useG1GC
public useG1GC() -
useSerialGC
public useSerialGC() -
getG1RegionSize
public long getG1RegionSize() -
getGcCollectors
public [] getGcCollectors() -
getMemoryPools
public [] getMemoryPools() -
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:
-