Package org.cloudbus.cloudsim.cloudlets
Enum Class Cloudlet.Status
- All Implemented Interfaces:
Serializable
,Comparable<Cloudlet.Status>
,Constable
- Enclosing interface:
- Cloudlet
Execution Status of Cloudlets.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe Cloudlet has been canceled.The Cloudlet has failed.The cloudlet has failed to start in reason of a failure in some resource such as a Host or VM.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 toQUEUED
.The Cloudlet is in execution in a Vm.The Cloudlet has been just instantiated but not assigned to a Datacenter yet.The Cloudlet has been paused.The Cloudlet has moved to a Vm but it is in the waiting queue.The Cloudlet has been assigned to a Datacenter to be executed as planned.The Cloudlet has been resumed from PAUSED state.The Cloudlet has been executed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic Cloudlet.Status
Returns the enum constant of this class with the specified name.static Cloudlet.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANTIATED
The Cloudlet has been just instantiated but not assigned to a Datacenter yet. -
READY
The Cloudlet has been assigned to a Datacenter to be executed as planned. -
QUEUED
The Cloudlet has moved to a Vm but it is in the waiting queue. -
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 toQUEUED
. This status is used specifically for Cloudlets created from a trace file, such as aGoogle Cluster trace
, that explicitly defines when tasks must start running. -
INEXEC
The Cloudlet is in execution in a Vm. -
SUCCESS
The Cloudlet has been executed successfully. -
FAILED
The Cloudlet has failed. -
CANCELED
The Cloudlet has been canceled. -
PAUSED
The Cloudlet has been paused. It can be resumed by changing the status into RESUMED. -
RESUMED
The Cloudlet has been resumed from PAUSED state. -
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
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-