net.sf.asyncobjects.vats
Enum Vat.VatState

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

protected static enum Vat.VatState
extends Enum<Vat.VatState>

Vat state


Enum Constant Summary
DETACHING
          the vat is being detached from runner
ENQUEUED
          vat is enqueued with runner for execution
IDLE
          vat is idle
PENDING
          vat has events but is not yet associated with runner
RUNNING
          vat is currently running
 
Method Summary
static Vat.VatState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Vat.VatState[] 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

RUNNING

public static final Vat.VatState RUNNING
vat is currently running


ENQUEUED

public static final Vat.VatState ENQUEUED
vat is enqueued with runner for execution


PENDING

public static final Vat.VatState PENDING
vat has events but is not yet associated with runner


IDLE

public static final Vat.VatState IDLE
vat is idle


DETACHING

public static final Vat.VatState DETACHING
the vat is being detached from runner

Method Detail

values

public static final Vat.VatState[] 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(Vat.VatState c : Vat.VatState.values())
        System.out.println(c);

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

valueOf

public static Vat.VatState 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.