org.terracotta.toolkit.internal.store
Enum ConfigFieldsInternal.LOCK_STRATEGY
java.lang.Object
java.lang.Enum<ConfigFieldsInternal.LOCK_STRATEGY>
org.terracotta.toolkit.internal.store.ConfigFieldsInternal.LOCK_STRATEGY
- All Implemented Interfaces:
- Serializable, Comparable<ConfigFieldsInternal.LOCK_STRATEGY>
- Enclosing interface:
- ConfigFieldsInternal
public static enum ConfigFieldsInternal.LOCK_STRATEGY
- extends Enum<ConfigFieldsInternal.LOCK_STRATEGY>
LONG_LOCK_STRATEGY
public static final ConfigFieldsInternal.LOCK_STRATEGY LONG_LOCK_STRATEGY
STRING_LOCK_STRATEGY
public static final ConfigFieldsInternal.LOCK_STRATEGY STRING_LOCK_STRATEGY
OBJECT_LOCK_STRATEGY
public static final ConfigFieldsInternal.LOCK_STRATEGY OBJECT_LOCK_STRATEGY
values
public static ConfigFieldsInternal.LOCK_STRATEGY[] 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 (ConfigFieldsInternal.LOCK_STRATEGY c : ConfigFieldsInternal.LOCK_STRATEGY.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConfigFieldsInternal.LOCK_STRATEGY 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
Copyright © 2013 Terracotta, Inc.. All Rights Reserved.