GigaSpaces XAP 10.0.1 API

org.openspaces.admin.pu
Enum ProcessingUnitType

java.lang.Object
  extended by java.lang.Enum<ProcessingUnitType>
      extended by org.openspaces.admin.pu.ProcessingUnitType
All Implemented Interfaces:
Serializable, Comparable<ProcessingUnitType>

public enum ProcessingUnitType
extends Enum<ProcessingUnitType>

An enumeration which specifies the type of the processing unit.

Since:
8.0.3
Author:
Moran Avigdor

Enum Constant Summary
GATEWAY
           
MIRROR
           
STATEFUL
           
STATELESS
           
UNIVERSAL
           
UNKNOWN
           
WEB
           
 
Method Summary
static ProcessingUnitType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProcessingUnitType[] 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

UNKNOWN

public static final ProcessingUnitType UNKNOWN

STATELESS

public static final ProcessingUnitType STATELESS

STATEFUL

public static final ProcessingUnitType STATEFUL

MIRROR

public static final ProcessingUnitType MIRROR

WEB

public static final ProcessingUnitType WEB

UNIVERSAL

public static final ProcessingUnitType UNIVERSAL

GATEWAY

public static final ProcessingUnitType GATEWAY
Method Detail

values

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

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

valueOf

public static ProcessingUnitType 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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.