GridGain™ 2.0.3
Java API Specification

org.gridgain.grid
Enum GridFactoryState

java.lang.Object
  extended by java.lang.Enum<GridFactoryState>
      extended by org.gridgain.grid.GridFactoryState
All Implemented Interfaces:
Serializable, Comparable<GridFactoryState>

@Apache20LicenseCompatible
public enum GridFactoryState
extends Enum<GridFactoryState>

Possible states of GridFactory. You can register a listener for state change notifications via GridFactory.addListener(GridFactoryListener) method.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

 

Enum Constant Summary
STARTED
          Grid factory started.
STOPPED
          Grid factory stopped.
 
Method Summary
static GridFactoryState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GridFactoryState[] 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

STARTED

public static final GridFactoryState STARTED
Grid factory started.


STOPPED

public static final GridFactoryState STOPPED
Grid factory stopped.

Method Detail

values

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

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

valueOf

public static GridFactoryState 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.)

Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

GridGain™ 2.0.3
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.