org.elasticsearch.monitor.jvm
Class JvmInfo
java.lang.Object
org.elasticsearch.monitor.jvm.JvmInfo
- All Implemented Interfaces:
- java.io.Serializable, Streamable, ToXContent
public class JvmInfo
- extends java.lang.Object
- implements Streamable, java.io.Serializable, ToXContent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jvmInfo
public static JvmInfo jvmInfo()
pid
public long pid()
- The process id.
getPid
public long getPid()
- The process id.
version
public java.lang.String version()
getVersion
public java.lang.String getVersion()
vmName
public java.lang.String vmName()
getVmName
public java.lang.String getVmName()
vmVersion
public java.lang.String vmVersion()
getVmVersion
public java.lang.String getVmVersion()
vmVendor
public java.lang.String vmVendor()
getVmVendor
public java.lang.String getVmVendor()
startTime
public long startTime()
getStartTime
public long getStartTime()
mem
public JvmInfo.Mem mem()
getMem
public JvmInfo.Mem getMem()
inputArguments
public java.lang.String[] inputArguments()
getInputArguments
public java.lang.String[] getInputArguments()
bootClassPath
public java.lang.String bootClassPath()
getBootClassPath
public java.lang.String getBootClassPath()
classPath
public java.lang.String classPath()
getClassPath
public java.lang.String getClassPath()
systemProperties
public java.util.Map<java.lang.String,java.lang.String> systemProperties()
getSystemProperties
public java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
java.io.IOException
readJvmInfo
public static JvmInfo readJvmInfo(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException