net.sf.asyncobjects.vats
Enum VatRunner.VatRunnerState

java.lang.Object
  extended by java.lang.Enum<VatRunner.VatRunnerState>
      extended by net.sf.asyncobjects.vats.VatRunner.VatRunnerState
All Implemented Interfaces:
Serializable, Comparable<VatRunner.VatRunnerState>
Enclosing class:
VatRunner

public static enum VatRunner.VatRunnerState
extends Enum<VatRunner.VatRunnerState>

Vat state


Enum Constant Summary
NOT_STARTED
          not yet started
RESUMING
          resume is in progress
STARTED
          started
STARTING
          started
STOPPED
          stopped
STOPPING
          stopped
SUSPENDED
          When runner is suspended, it stops dispatching events.
SUSPENDING
          the suspend process was initiated
 
Method Summary
static VatRunner.VatRunnerState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VatRunner.VatRunnerState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_STARTED

public static final VatRunner.VatRunnerState NOT_STARTED
not yet started


STARTING

public static final VatRunner.VatRunnerState STARTING
started


STARTED

public static final VatRunner.VatRunnerState STARTED
started


SUSPENDING

public static final VatRunner.VatRunnerState SUSPENDING
the suspend process was initiated


SUSPENDED

public static final VatRunner.VatRunnerState SUSPENDED
When runner is suspended, it stops dispatching events. And it is expected that it will resume dispatching events soon, possibly on other thread.


RESUMING

public static final VatRunner.VatRunnerState RESUMING
resume is in progress


STOPPING

public static final VatRunner.VatRunnerState STOPPING
stopped


STOPPED

public static final VatRunner.VatRunnerState STOPPED
stopped

Method Detail

values

public static final VatRunner.VatRunnerState[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(VatRunner.VatRunnerState c : VatRunner.VatRunnerState.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static VatRunner.VatRunnerState valueOf(String name)
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 name


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.