org.infinispan.invocation
Enum Flag
java.lang.Object
java.lang.Enum<Flag>
org.infinispan.invocation.Flag
- All Implemented Interfaces:
- Serializable, Comparable<Flag>
public enum Flag
- extends Enum<Flag>
Available flags, which may be set on a per-invocation basis. These are provided using the AdvancedCache
interface, using some of the overloaded methods that allow passing in of a variable number of Flags.
- Since:
- 4.0
- Author:
- Manik Surtani
Method Summary |
static Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
ZERO_LOCK_ACQUISITION_TIMEOUT
public static final Flag ZERO_LOCK_ACQUISITION_TIMEOUT
CACHE_MODE_LOCAL
public static final Flag CACHE_MODE_LOCAL
SKIP_LOCKING
public static final Flag SKIP_LOCKING
FORCE_WRITE_LOCK
public static final Flag FORCE_WRITE_LOCK
SKIP_CACHE_STATUS_CHECK
public static final Flag SKIP_CACHE_STATUS_CHECK
FORCE_ASYNCHRONOUS
public static final Flag FORCE_ASYNCHRONOUS
FORCE_SYNCHRONOUS
public static final Flag FORCE_SYNCHRONOUS
SKIP_CACHE_STORE
public static final Flag SKIP_CACHE_STORE
FAIL_SILENTLY
public static final Flag FAIL_SILENTLY
values
public static final Flag[] 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(Flag c : Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Flag 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.