Package org.cloudbus.cloudsim.cloudlets
Enum Cloudlet.Status
- All Implemented Interfaces:
Serializable
,Comparable<Cloudlet.Status>
,java.lang.constant.Constable
- Enclosing interface:
- Cloudlet
public static enum Cloudlet.Status extends Enum<Cloudlet.Status>
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 Constants Enum Constant Description CANCELED
The Cloudlet has been canceled.FAILED
The Cloudlet has failed.FAILED_RESOURCE_UNAVAILABLE
The cloudlet has failed to start in reason of a failure in some resource such as a Host or VM.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
.INEXEC
The Cloudlet is in execution in a Vm.INSTANTIATED
The Cloudlet has been just instantiated but not assigned to a Datacenter yet.PAUSED
The Cloudlet has been paused.QUEUED
The Cloudlet has moved to a Vm but it is in the waiting queue.READY
The Cloudlet has been assigned to a Datacenter to be executed as planned.RESUMED
The Cloudlet has been resumed from PAUSED state.SUCCESS
The Cloudlet has been executed successfully. -
Method Summary
Modifier and Type Method Description static Cloudlet.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Cloudlet.Status[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-