public enum ConflictResolutionPolicy extends Enum<ConflictResolutionPolicy>
Enum Constant and Description |
---|
CONSUMER_ID |
INITIAL_LOAD |
NONE |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsValue(String value) |
static ConflictResolutionPolicy |
findByValue(String value) |
String |
getValue() |
static String[] |
getValues() |
static ConflictResolutionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictResolutionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictResolutionPolicy NONE
public static final ConflictResolutionPolicy TIMESTAMP
public static final ConflictResolutionPolicy INITIAL_LOAD
public static final ConflictResolutionPolicy CONSUMER_ID
public static ConflictResolutionPolicy[] values()
for (ConflictResolutionPolicy c : ConflictResolutionPolicy.values()) System.out.println(c);
public static ConflictResolutionPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static String[] getValues()
public static boolean containsValue(String value)
public static ConflictResolutionPolicy findByValue(String value)
Copyright © GigaSpaces.