org.elasticsearch.monitor.os
Class OsInfo.Cpu

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

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

See Also:
Serialized Form

Method Summary
 ByteSizeValue cacheSize()
           
 int coresPerSocket()
           
 ByteSizeValue getCacheSize()
           
 int getCoresPerSocket()
           
 int getMhz()
           
 String getModel()
           
 int getTotalCores()
           
 int getTotalSockets()
           
 String getVendor()
           
 int mhz()
           
 String model()
           
static OsInfo.Cpu readCpu(StreamInput in)
           
 void readFrom(StreamInput in)
           
 int totalCores()
           
 int totalSockets()
           
 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 String vendor()

getVendor

public String getVendor()

model

public String model()

getModel

public 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 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.