|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<VirtualMachine.State>
hu.mta.sztaki.lpds.cloud.simulator.iaas.VirtualMachine.State
public static enum VirtualMachine.State
| Enum Constant Summary | |
|---|---|
DESTROYED
The VM is not running and it does not have any storage requirements in any of the repositories. |
|
INITIAL_TR
The VA of the machine is arranged to be usable for the execution. |
|
MIGRATING
The VM is on the move between two Phisical machines. |
|
NONSERVABLE
The VM is destroyed, and it is not possible to instantiate it in the current cloud infrastructure. |
|
RESUME_TR
The VM is about to be running. |
|
RUNNING
The VM is operating according to the user's needs. |
|
SHUTDOWN
The VM is not running. |
|
STARTUP
The VM is booting up, and already consumes energy although it does not offer useful services for its user. |
|
SUSPEND_TR
The VM is about to be suspended, and its memory is under serialization. |
|
SUSPENDED
The VM is awaiting to be resumed. |
|
SUSPENDED_MIG
This state signs that there was a problem with a migration operation. |
|
| Method Summary | |
|---|---|
static VirtualMachine.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VirtualMachine.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final VirtualMachine.State INITIAL_TR
public static final VirtualMachine.State STARTUP
public static final VirtualMachine.State RUNNING
public static final VirtualMachine.State SUSPEND_TR
public static final VirtualMachine.State SUSPENDED
public static final VirtualMachine.State SUSPENDED_MIG
public static final VirtualMachine.State RESUME_TR
public static final VirtualMachine.State MIGRATING
public static final VirtualMachine.State SHUTDOWN
public static final VirtualMachine.State DESTROYED
public static final VirtualMachine.State NONSERVABLE
| Method Detail |
|---|
public static VirtualMachine.State[] values()
for (VirtualMachine.State c : VirtualMachine.State.values()) System.out.println(c);
public static VirtualMachine.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||