org.elasticsearch.monitor.os
Class OsInfo.Cpu

java.lang.Object
  extended by org.elasticsearch.monitor.os.OsInfo.Cpu
All Implemented Interfaces:
java.io.Serializable, Streamable
Enclosing class:
OsInfo

public static class OsInfo.Cpu
extends java.lang.Object
implements Streamable, java.io.Serializable

See Also:
Serialized Form

Method Summary
 ByteSizeValue cacheSize()
           
 int coresPerSocket()
           
 ByteSizeValue getCacheSize()
           
 int getCoresPerSocket()
           
 int getMhz()
           
 java.lang.String getModel()
           
 int getTotalCores()
           
 int getTotalSockets()
           
 java.lang.String getVendor()
           
 int mhz()
           
 java.lang.String model()
           
static OsInfo.Cpu readCpu(StreamInput in)
           
 void readFrom(StreamInput in)
           
 int totalCores()
           
 int totalSockets()
           
 java.lang.String vendor()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

vendor

public java.lang.String vendor()

getVendor

public java.lang.String getVendor()

model

public java.lang.String model()

getModel

public java.lang.String getModel()

mhz

public int mhz()

getMhz

public int getMhz()

totalCores

public int totalCores()

getTotalCores

public int getTotalCores()

totalSockets

public int totalSockets()

getTotalSockets

public int getTotalSockets()

coresPerSocket

public int coresPerSocket()

getCoresPerSocket

public int getCoresPerSocket()

cacheSize

public ByteSizeValue cacheSize()

getCacheSize

public ByteSizeValue getCacheSize()

readCpu

public static OsInfo.Cpu readCpu(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