Class JvmInfo

org.elasticsearch.monitor.jvm.JvmInfo
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, ReportingService.Info

public class JvmInfo extends implements ReportingService.Info
  • Constructor Details

    • JvmInfo

      public JvmInfo(StreamInput in) throws
      Throws:
  • Method Details

    • jvmInfo

      public static JvmInfo jvmInfo()
    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
    • 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

      public JvmInfo.Mem 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 interface org.elasticsearch.common.xcontent.ToXContent
      Throws: