ProvisionedVm (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.workflow

## Class ProvisionedVm

- java.lang.Object
- - org.cloudbus.cloudsim.workflow.ProvisionedVm

-     public class ProvisionedVm
      extends Object

  This class encapsulates a VM that has been provisioned. It contains the actual VM, its start and end time, and the cost.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProvisionedVm(Vm vm, long startTime, long endTime, int cost)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCost()`
    `long` | `getEndTime()`
    `long` | `getStartTime()`
    `Vm` | `getVm()`
    `void` | `setEndTime(long endTime)`
    `void` | `setStartTime(long startTime)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProvisionedVm

          public ProvisionedVm(Vm vm,
                       long startTime,
                       long endTime,
                       int cost)

  - ### Method Detail

    - #### getVm

          public Vm getVm()

    - #### getStartTime

          public long getStartTime()

    - #### setStartTime

          public void setStartTime(long startTime)

    - #### getEndTime

          public long getEndTime()

    - #### setEndTime

          public void setEndTime(long endTime)

    - #### getCost

          public int getCost()

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.