org.elasticsearch.monitor.jvm
Class JvmInfo

java.lang.Object
  extended by org.elasticsearch.monitor.jvm.JvmInfo
All Implemented Interfaces:
Serializable, Streamable, ToXContent

public class JvmInfo
extends Object
implements Streamable, Serializable, ToXContent

See Also:
Serialized Form

Nested Class Summary
static class JvmInfo.Mem
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Method Summary
 String bootClassPath()
           
 String classPath()
           
 String getBootClassPath()
           
 String getClassPath()
           
 String[] getInputArguments()
           
 JvmInfo.Mem getMem()
           
 long getPid()
          The process id.
 long getStartTime()
           
 Map<String,String> getSystemProperties()
           
 String getVersion()
           
 String getVmName()
           
 String getVmVendor()
           
 String getVmVersion()
           
 String[] inputArguments()
           
static JvmInfo jvmInfo()
           
 JvmInfo.Mem mem()
           
 long pid()
          The process id.
 void readFrom(StreamInput in)
           
static JvmInfo readJvmInfo(StreamInput in)
           
 long startTime()
           
 Map<String,String> systemProperties()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 String version()
           
 int versionAsInteger()
           
 int versionUpdatePack()
           
 String vmName()
           
 String vmVendor()
           
 String vmVersion()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.