|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozecommon.communication.virtualcluster.VirtualMachineMetaData
public final class VirtualMachineMetaData
Virtual machine meta data.
Constructor Summary | |
---|---|
VirtualMachineMetaData()
Constructor. |
|
VirtualMachineMetaData(VirtualMachineMetaData metaData,
int numberOfMonitoringEntries)
Copy constructor. |
Method Summary | |
---|---|
VirtualMachineErrorCode |
getErrorCode()
Returns the error code. |
NetworkAddress |
getGroupManagerControlDataAddress()
Sets the group manager control data address. |
String |
getIpAddress()
Returns the ip address. |
ArrayList<Double> |
getRequestedCapacity()
Returns the requested requirements. |
VirtualMachineStatus |
getStatus()
Returns the status. |
LRUCache<Long,VirtualMachineMonitoringData> |
getUsedCapacity()
Returns the used capacity. |
VirtualMachineLocation |
getVirtualMachineLocation()
Returns the virtual machine location. |
String |
getXmlRepresentation()
Returns the XML representation. |
void |
setErrorCode(VirtualMachineErrorCode errorCode)
Sets the error code. |
void |
setGroupManagerControlDataAddress(NetworkAddress groupManagerControlDataAddress)
Returns the group manager control data address. |
void |
setIpAddress(String assignedIpAddress)
Sets the ip address. |
void |
setRequestedCapacity(ArrayList<Double> requestedCapacity)
Sets the requested requirements. |
void |
setStatus(VirtualMachineStatus status)
Sets the status. |
void |
setUsedCapacity(LRUCache<Long,VirtualMachineMonitoringData> usedCapacity)
Sets the used capacity. |
void |
setVirtualMachineLocation(VirtualMachineLocation location)
Sets the virtual machine location. |
void |
setXmlRepresentation(String xmlRepresentation)
Sets the XML representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualMachineMetaData()
public VirtualMachineMetaData(VirtualMachineMetaData metaData, int numberOfMonitoringEntries)
metaData
- The original meta datanumberOfMonitoringEntries
- The number of monitoring entriesMethod Detail |
---|
public void setRequestedCapacity(ArrayList<Double> requestedCapacity)
requestedCapacity
- The requested capacitypublic ArrayList<Double> getRequestedCapacity()
public void setXmlRepresentation(String xmlRepresentation)
xmlRepresentation
- The XML representationpublic String getXmlRepresentation()
public void setUsedCapacity(LRUCache<Long,VirtualMachineMonitoringData> usedCapacity)
usedCapacity
- The used capacitypublic LRUCache<Long,VirtualMachineMonitoringData> getUsedCapacity()
public void setStatus(VirtualMachineStatus status)
status
- The statuspublic VirtualMachineStatus getStatus()
public void setErrorCode(VirtualMachineErrorCode errorCode)
errorCode
- The error codepublic VirtualMachineErrorCode getErrorCode()
public void setVirtualMachineLocation(VirtualMachineLocation location)
location
- The virtual machine locationpublic VirtualMachineLocation getVirtualMachineLocation()
public void setGroupManagerControlDataAddress(NetworkAddress groupManagerControlDataAddress)
groupManagerControlDataAddress
- The control data addresspublic NetworkAddress getGroupManagerControlDataAddress()
public void setIpAddress(String assignedIpAddress)
assignedIpAddress
- The assigned ip addresspublic String getIpAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |