public static class OsInfo.Cpu extends Object implements Streamable, Serializable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2015. All rights reserved.