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