org.infinispan.context
Enum AbstractContext.ContextFlags
java.lang.Object
java.lang.Enum<AbstractContext.ContextFlags>
org.infinispan.context.AbstractContext.ContextFlags
- All Implemented Interfaces:
- Serializable, Comparable<AbstractContext.ContextFlags>
- Enclosing class:
- AbstractContext
protected static enum AbstractContext.ContextFlags
- extends Enum<AbstractContext.ContextFlags>
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
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.