org.elasticsearch.monitor.jvm
Class JvmInfo
java.lang.Object
org.elasticsearch.monitor.jvm.JvmInfo
- All Implemented Interfaces:
- Serializable, Streamable, ToXContent
public class JvmInfo
- extends Object
- implements Streamable, 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 String version()
getVersion
public String getVersion()
versionAsInteger
public int versionAsInteger()
versionUpdatePack
public int versionUpdatePack()
vmName
public String vmName()
getVmName
public String getVmName()
vmVersion
public String vmVersion()
getVmVersion
public String getVmVersion()
vmVendor
public String vmVendor()
getVmVendor
public String getVmVendor()
startTime
public long startTime()
getStartTime
public long getStartTime()
mem
public JvmInfo.Mem mem()
getMem
public JvmInfo.Mem getMem()
inputArguments
public String[] inputArguments()
getInputArguments
public String[] getInputArguments()
bootClassPath
public String bootClassPath()
getBootClassPath
public String getBootClassPath()
classPath
public String classPath()
getClassPath
public String getClassPath()
systemProperties
public Map<String,String> systemProperties()
getSystemProperties
public Map<String,String> getSystemProperties()
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
readJvmInfo
public static JvmInfo readJvmInfo(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.