public static class OsInfo.Cpu extends Object implements Streamable, Serializable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
ByteSizeValue |
cacheSize() |
int |
coresPerSocket() |
boolean |
equals(Object o) |
ByteSizeValue |
getCacheSize() |
int |
getCoresPerSocket() |
int |
getMhz() |
String |
getModel() |
int |
getTotalCores() |
int |
getTotalSockets() |
String |
getVendor() |
int |
hashCode() |
int |
mhz() |
String |
model() |
static OsInfo.Cpu |
readCpu(StreamInput in) |
void |
readFrom(StreamInput in) |
int |
totalCores() |
int |
totalSockets() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
vendor() |
void |
writeTo(StreamOutput out) |
public String vendor()
public String getVendor()
public String model()
public String getModel()
public int mhz()
public int getMhz()
public int totalCores()
public int getTotalCores()
public int totalSockets()
public int getTotalSockets()
public int coresPerSocket()
public int getCoresPerSocket()
public ByteSizeValue cacheSize()
public ByteSizeValue getCacheSize()
public static OsInfo.Cpu readCpu(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.