|
||||||||||
| 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.resourcemodel.ConsumptionEventAdapter
hu.mta.sztaki.lpds.cloud.simulator.iaas.VirtualMachine.InitialTransferEvent
class VirtualMachine.InitialTransferEvent
The event that will be received upon the completion of the VA's copy from vasource to vatarget.
| Field Summary | |
|---|---|
(package private) String |
diskid
the expected id of the storage object in the target repository |
(package private) VirtualMachine.EventSetup |
esetup
the event to be fired after the transfer is complete |
(package private) Repository |
target
the target repository where the VA is expected to turn up |
| Constructor Summary | |
|---|---|
VirtualMachine.InitialTransferEvent(Repository t,
VirtualMachine.EventSetup event,
String did)
Initiates the event handler object |
|
| Method Summary | |
|---|---|
void |
conComplete()
stores the newly transferred storage object into the VM's disk field, and then continues with the next step in the VM state management (represented with the event setup) |
| Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel.ConsumptionEventAdapter |
|---|
conCancelled, isCancelled, isCompleted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final Repository target
final VirtualMachine.EventSetup esetup
final String diskid
| Constructor Detail |
|---|
public VirtualMachine.InitialTransferEvent(Repository t,
VirtualMachine.EventSetup event,
String did)
t - the repository to observeevent - the event to fire after the transfer to the target repo
happeneddid - the disk id of the newly created storage object in the
target repo for the new runnable VA.| Method Detail |
|---|
public void conComplete()
conComplete in interface ResourceConsumption.ConsumptionEventconComplete in class ConsumptionEventAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||