org.elasticsearch.monitor.os
Class OsInfo.Cpu
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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