public class CpuTopology extends Object
Java class for CpuTopology complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CpuTopology">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="sockets" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="cores" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="threads" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
CpuTopology() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCores()
Gets the value of the cores property.
|
Integer |
getSockets()
Gets the value of the sockets property.
|
Integer |
getThreads()
Gets the value of the threads property.
|
void |
setCores(Integer value)
Sets the value of the cores property.
|
void |
setSockets(Integer value)
Sets the value of the sockets property.
|
void |
setThreads(Integer value)
Sets the value of the threads property.
|
public Integer getSockets()
Integerpublic void setSockets(Integer value)
value - allowed object is
Integerpublic Integer getCores()
Integerpublic void setCores(Integer value)
value - allowed object is
Integerpublic Integer getThreads()
IntegerCopyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0