org.jppf.server.nio.classloader
Enum ClassTransition

java.lang.Object
  extended by java.lang.Enum<ClassTransition>
      extended by org.jppf.server.nio.classloader.ClassTransition
All Implemented Interfaces:
Serializable, Comparable<ClassTransition>

public enum ClassTransition
extends Enum<ClassTransition>

Enumeration of the possible state transitions for a class server channel.

Author:
Laurent Cohen

Enum Constant Summary
TO_DEFINING_TYPE
          Transition to the DEFINING_TYPE state.
TO_IDLE_NODE
          Transition to the IDLE_NODE state in idle mode.
TO_IDLE_PROVIDER
          Transition to the IDLE_PROVIDER state in idle mode.
TO_NODE_WAITING_PROVIDER_RESPONSE
          Transition to NODE_WAITING_PROVIDER_RESPONSE state.
TO_SENDING_INITIAL_NODE_RESPONSE
          Transition to the SENDING_INITIAL_RESPONSE state.
TO_SENDING_INITIAL_PROVIDER_RESPONSE
          Transition to the TO_SENDING_INITIAL_PROVIDER_RESPONSE state.
TO_SENDING_NODE_RESPONSE
          Transition to the SENDING_NODE_RESPONSE state.
TO_SENDING_PROVIDER_REQUEST
          Transition to the SENDING_PROVIDER_REQUEST state.
TO_WAITING_NODE_REQUEST
          Transition to the WAITING_NODE_REQUEST state.
TO_WAITING_PROVIDER_RESPONSE
          Transition to the WAITING_PROVIDER_RESPONSE state.
 
Method Summary
static ClassTransition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClassTransition[] 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

TO_DEFINING_TYPE

public static final ClassTransition TO_DEFINING_TYPE
Transition to the DEFINING_TYPE state.


TO_SENDING_INITIAL_PROVIDER_RESPONSE

public static final ClassTransition TO_SENDING_INITIAL_PROVIDER_RESPONSE
Transition to the TO_SENDING_INITIAL_PROVIDER_RESPONSE state.


TO_SENDING_INITIAL_NODE_RESPONSE

public static final ClassTransition TO_SENDING_INITIAL_NODE_RESPONSE
Transition to the SENDING_INITIAL_RESPONSE state.


TO_WAITING_NODE_REQUEST

public static final ClassTransition TO_WAITING_NODE_REQUEST
Transition to the WAITING_NODE_REQUEST state.


TO_SENDING_NODE_RESPONSE

public static final ClassTransition TO_SENDING_NODE_RESPONSE
Transition to the SENDING_NODE_RESPONSE state.


TO_SENDING_PROVIDER_REQUEST

public static final ClassTransition TO_SENDING_PROVIDER_REQUEST
Transition to the SENDING_PROVIDER_REQUEST state.


TO_WAITING_PROVIDER_RESPONSE

public static final ClassTransition TO_WAITING_PROVIDER_RESPONSE
Transition to the WAITING_PROVIDER_RESPONSE state.


TO_IDLE_NODE

public static final ClassTransition TO_IDLE_NODE
Transition to the IDLE_NODE state in idle mode.


TO_IDLE_PROVIDER

public static final ClassTransition TO_IDLE_PROVIDER
Transition to the IDLE_PROVIDER state in idle mode.


TO_NODE_WAITING_PROVIDER_RESPONSE

public static final ClassTransition TO_NODE_WAITING_PROVIDER_RESPONSE
Transition to NODE_WAITING_PROVIDER_RESPONSE state.

Method Detail

values

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

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

valueOf

public static ClassTransition 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
NullPointerException - if the argument is null


Copyright © 2005-2010 JPPF Team.