Enum Class Cloudlet.Status

All Implemented Interfaces:
Serializable, Comparable<Cloudlet.Status>, Constable
Enclosing interface:

public static enum Cloudlet.Status extends Enum<Cloudlet.Status>
Execution Status of Cloudlets.
  • Enum Constant Details


      public static final Cloudlet.Status INSTANTIATED
      The Cloudlet has been just instantiated but not assigned to a Datacenter yet.
    • READY

      public static final Cloudlet.Status READY
      The Cloudlet has been assigned to a Datacenter to be executed as planned.
    • QUEUED

      public static final Cloudlet.Status QUEUED
      The Cloudlet has moved to a Vm but it is in the waiting queue.
    • FROZEN

      public static final Cloudlet.Status FROZEN
      The Cloudlet is in the waiting queue, but it won't be automatically moved to the execution list (even if there are available PEs) until its status is changed to QUEUED. This status is used specifically for Cloudlets created from a trace file, such as a Google Cluster trace, that explicitly defines when tasks must start running.
    • INEXEC

      public static final Cloudlet.Status INEXEC
      The Cloudlet is in execution in a Vm.

      public static final Cloudlet.Status SUCCESS
      The Cloudlet has been executed successfully.
    • FAILED

      public static final Cloudlet.Status FAILED
      The Cloudlet has failed.

      public static final Cloudlet.Status CANCELED
      The Cloudlet has been canceled.
    • PAUSED

      public static final Cloudlet.Status PAUSED
      The Cloudlet has been paused. It can be resumed by changing the status into RESUMED.

      public static final Cloudlet.Status RESUMED
      The Cloudlet has been resumed from PAUSED state.

      public static final Cloudlet.Status FAILED_RESOURCE_UNAVAILABLE
      The cloudlet has failed to start in reason of a failure in some resource such as a Host or VM. That may happen too when the VM to run the Cloudlet cannot be created for some reason (such as the lack of a suitable Host).
  • Method Details

    • values

      public static Cloudlet.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Cloudlet.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null