|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.QueueingData
public class QueueingData
The data stored about a single queued VM request.
Field Summary | |
---|---|
ResourceConstraints |
cumulativeRC
All VMs in the request should have this much resources in total |
ResourceConstraints |
queuedRC
A single VM should have this much resources allocated to it |
Repository |
queuedRepo
The repository that is storing the VM's virtual appliance. |
VirtualMachine[] |
queuedVMs
The VMs to be placed on a PM |
long |
receivedTime
The time stamp when the VM request has been received by the VM scheduler |
Map<String,Object> |
schedulingConstraints
Data for custom schedulers (e.g., like specific placement requirements - please put me on this machine and this machine only), if null then there is no data. |
Constructor Summary | |
---|---|
QueueingData(VirtualMachine[] vms,
ResourceConstraints rc,
Repository vaSource,
Map<String,Object> schedulingConstraints,
long received)
Instantiates the queueing data object which auto-populates the derivable fields and safeguards all data stored. |
Method Summary | |
---|---|
String |
toString()
Provides a user readable single line representation of the queued VMs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final VirtualMachine[] queuedVMs
public final ResourceConstraints queuedRC
public final ResourceConstraints cumulativeRC
public final Repository queuedRepo
public final Map<String,Object> schedulingConstraints
public final long receivedTime
Constructor Detail |
---|
public QueueingData(VirtualMachine[] vms, ResourceConstraints rc, Repository vaSource, Map<String,Object> schedulingConstraints, long received)
vms
- the virtual machine set to work onrc
- the resource requirements for a single VMvaSource
- the repository which hosts the virtual appliance required for
the instantiation of the VMsschedulingConstraints
- custom scheduler datareceived
- the timestampMethod Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |