|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of VirtualMachine in hu.mta.sztaki.lpds.cloud.simulator.energy.specialized |
---|
Constructors in hu.mta.sztaki.lpds.cloud.simulator.energy.specialized with parameters of type VirtualMachine | |
---|---|
SimpleVMEnergyMeter(VirtualMachine vm)
Cannot be created for unallocated VMs! |
Uses of VirtualMachine in hu.mta.sztaki.lpds.cloud.simulator.iaas |
---|
Fields in hu.mta.sztaki.lpds.cloud.simulator.iaas declared as VirtualMachine | |
---|---|
private VirtualMachine |
PhysicalMachine.ResourceAllocation.user
The VM that utilizes the allocation in question |
Fields in hu.mta.sztaki.lpds.cloud.simulator.iaas with type parameters of type VirtualMachine | |
---|---|
Set<VirtualMachine> |
PhysicalMachine.publicVms
the publicly available, read only set of currently running virtual machines on this PM |
private HashSet<VirtualMachine> |
PhysicalMachine.vms
the set of currently running virtual machines on this PM |
private StateDependentEventHandler<VirtualMachine.StateChange,org.apache.commons.lang3.tuple.Triple<VirtualMachine,VirtualMachine.State,VirtualMachine.State>> |
VirtualMachine.vmStateChangelistenerManager
the local handler of VM state change events. |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas that return VirtualMachine | |
---|---|
VirtualMachine[] |
PhysicalMachine.requestVM(VirtualAppliance va,
ResourceConstraints rc,
Repository vaSource,
int count)
Initiates a VM on this physical machine. |
VirtualMachine[] |
IaaSService.requestVM(VirtualAppliance va,
ResourceConstraints rc,
Repository vaSource,
int count)
Allows the request of multiple VMs without propagating any scheduling constraints. |
VirtualMachine[] |
VMManager.requestVM(VirtualAppliance va,
ResourceConstraints rc,
Repository vaSource,
int count,
HashMap<String,Object> schedulingConstraints)
Creates a new VM in the system and immediately returns with a new VM object. |
VirtualMachine[] |
PhysicalMachine.requestVM(VirtualAppliance va,
ResourceConstraints rc,
Repository vaSource,
int count,
HashMap<String,Object> schedulingConstraints)
Requests a few VMs just as before. |
VirtualMachine[] |
IaaSService.requestVM(VirtualAppliance va,
ResourceConstraints rc,
Repository vaSource,
int count,
HashMap<String,Object> schedulingConstraints)
Allows the request of multiple VMs. |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas that return types with arguments of type VirtualMachine | |
---|---|
Collection<VirtualMachine> |
VMManager.listVMs()
Provides an overview on the VMs currently in the system |
Collection<VirtualMachine> |
PhysicalMachine.listVMs()
a method to query the currently running VMs (this can also be accessed through the public field of publicVms). |
Collection<VirtualMachine> |
IaaSService.listVMs()
lists all VMs running or requested (and queued at a VM scheduler) from the IaaSservice |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas with parameters of type VirtualMachine | |
---|---|
void |
VirtualMachine.EventSetup.changeEvents(VirtualMachine onMe)
Implementing this function allows the implementor to provide a custom VM state change function |
void |
VirtualMachine.StartupProcedure.changeEvents(VirtualMachine onMe)
Once the startup state is reached, the VM's boot process is imitated with a single core process which runs on the VM for a given amount of ticks. |
private PhysicalMachine |
IaaSService.checkVMHost(VirtualMachine vm)
Determines if the VM is hosted locally in one of the physical machines of this IaaSServie |
void |
PhysicalMachine.deployVM(VirtualMachine vm,
PhysicalMachine.ResourceAllocation ra,
Repository vaSource)
Bounds a VM to a particular PM on a previously agreed allocation |
void |
VMManager.migrateVM(VirtualMachine vm,
E target)
Migrates a VM from the current system to another. |
void |
IaaSService.migrateVM(VirtualMachine vm,
IaaSService target)
Not implemented! Will allow migrating VMs across IaaSServices. |
void |
PhysicalMachine.migrateVM(VirtualMachine vm,
PhysicalMachine target)
Initiates the migration of a VM to another PM. |
void |
VMManager.reallocateResources(VirtualMachine vm,
ResourceConstraints newresources)
Allows fine-grained resource utilization setup of the particular VM after it was allocated on the system. |
void |
PhysicalMachine.reallocateResources(VirtualMachine vm,
ResourceConstraints newresources)
Not implemented, would allow VMs to receive more resources in the future |
void |
IaaSService.reallocateResources(VirtualMachine vm,
ResourceConstraints newresources)
NOT IMPLEMENTED! Reallocates the VM's resources according to the newresources on the host of the VM. |
void |
VirtualMachine.StateChange.stateChanged(VirtualMachine vm,
VirtualMachine.State oldState,
VirtualMachine.State newState)
If the state of a VM is changed this function is called on all subscribing implementations. |
void |
PhysicalMachine.ResourceAllocation.stateChanged(VirtualMachine vm,
VirtualMachine.State oldState,
VirtualMachine.State newState)
This function is called by the user VM if it is switching states. |
void |
VMManager.terminateVM(VirtualMachine vm,
boolean killTasks)
Terminates a VM in the system. |
void |
PhysicalMachine.terminateVM(VirtualMachine vm,
boolean killTasks)
Switches off the VM in question if the VM is hosted by this particular PM. |
void |
IaaSService.terminateVM(VirtualMachine vm,
boolean killTasks)
Requesting the destruction of a VM in a DESTROYED state will dequeue the VM from the scheduler's request queue. |
(package private) void |
PhysicalMachine.ResourceAllocation.use(VirtualMachine vm)
To complete the allocation process the VM must be told to use a particular allocation (e.g. |
Uses of VirtualMachine in hu.mta.sztaki.lpds.cloud.simulator.iaas.statenotifications |
---|
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas.statenotifications that return types with arguments of type VirtualMachine | |
---|---|
static StateDependentEventHandler<VirtualMachine.StateChange,org.apache.commons.lang3.tuple.Triple<VirtualMachine,VirtualMachine.State,VirtualMachine.State>> |
VMStateChangeNotificationHandler.getHandlerInstance()
gets the event handler that will manage the subscriptions for the particular VM object that asked for the handler. |
Method parameters in hu.mta.sztaki.lpds.cloud.simulator.iaas.statenotifications with type arguments of type VirtualMachine | |
---|---|
void |
VMStateChangeNotificationHandler.sendNotification(VirtualMachine.StateChange onObject,
org.apache.commons.lang3.tuple.Triple<VirtualMachine,VirtualMachine.State,VirtualMachine.State> stateData)
The event handling mechanism for VM state change notifications |
Uses of VirtualMachine in hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling |
---|
Fields in hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling declared as VirtualMachine | |
---|---|
VirtualMachine[] |
QueueingData.queuedVMs
The VMs to be placed on a PM |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling that return types with arguments of type VirtualMachine | |
---|---|
List<VirtualMachine> |
Scheduler.getQueuedVMs()
Prepares a list of all the VMs that are queued at the particular moment in time |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling with parameters of type VirtualMachine | |
---|---|
boolean |
Scheduler.dropVMrequest(VirtualMachine vm)
Cancels a VM request by dropping the corresponding queuing data from the scheduler's queue. |
void |
Scheduler.scheduleVMrequest(VirtualMachine[] vms,
ResourceConstraints rc,
Repository vaSource,
HashMap<String,Object> schedulingConstraints)
The main entry point to the schedulers. |
Constructors in hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling with parameters of type VirtualMachine | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |