Package org.jclouds.elasticstack.domain
Class Server
java.lang.Object
org.jclouds.elasticstack.domain.Item
org.jclouds.elasticstack.domain.Server
- Direct Known Subclasses:
 ServerInfo
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final intprotected final booleanprotected final Integerprotected final VNCFields inherited from class org.jclouds.elasticstack.domain.Item
name, tags, userMetadata, uuid - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.jclouds.elasticstack.domain.Item
getName, getTags, getUserMetadata, getUuid 
- 
Field Details
- 
cpu
protected final int cpu - 
smp
 - 
mem
protected final int mem - 
persistent
protected final boolean persistent - 
devices
 - 
bootDeviceIds
 - 
nics
 - 
vnc
 
 - 
 - 
Constructor Details
- 
Server
 
 - 
 - 
Method Details
- 
getCpu
public int getCpu()- Returns:
 - CPU quota in core MHz.
 
 - 
getSmp
- Returns:
 - number of virtual processors or null if calculated based on cpu.
 
 - 
getMem
public int getMem()- Returns:
 - virtual memory size in MB.
 
 - 
isPersistent
public boolean isPersistent()- Returns:
 - 'true' means that server will revert to a 'stopped' status on server stop or shutdown, rather than being destroyed automatically.
 
 - 
getDevices
- Returns:
 - devices present, mapped by id
 
 - 
getBootDeviceIds
- Returns:
 - ids of the devices to boot, e.g. ide:0:0 or ide:1:0
 - See Also:
 
 - 
getNics
 - 
getVnc
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -