org.infinispan.context
Enum AbstractContext.ContextFlags

java.lang.Object
  extended by java.lang.Enum<AbstractContext.ContextFlags>
      extended by org.infinispan.context.AbstractContext.ContextFlags
All Implemented Interfaces:
Serializable, Comparable<AbstractContext.ContextFlags>
Enclosing class:
AbstractContext

protected static enum AbstractContext.ContextFlags
extends Enum<AbstractContext.ContextFlags>


Enum Constant Summary
CONTAINS_LOCKS
           
CONTAINS_MODS
           
FORCE_ASYNCHRONOUS
           
FORCE_SYNCHRONOUS
           
LOCAL_ROLLBACK_ONLY
           
ORIGIN_LOCAL
           
 
Method Summary
static AbstractContext.ContextFlags valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractContext.ContextFlags[] 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

FORCE_SYNCHRONOUS

public static final AbstractContext.ContextFlags FORCE_SYNCHRONOUS

FORCE_ASYNCHRONOUS

public static final AbstractContext.ContextFlags FORCE_ASYNCHRONOUS

ORIGIN_LOCAL

public static final AbstractContext.ContextFlags ORIGIN_LOCAL

LOCAL_ROLLBACK_ONLY

public static final AbstractContext.ContextFlags LOCAL_ROLLBACK_ONLY

CONTAINS_MODS

public static final AbstractContext.ContextFlags CONTAINS_MODS

CONTAINS_LOCKS

public static final AbstractContext.ContextFlags CONTAINS_LOCKS
Method Detail

values

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

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

valueOf

public static AbstractContext.ContextFlags 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 © 2009 JBoss, a division of Red Hat. All Rights Reserved.