public enum QueryConsistency extends Enum<QueryConsistency>
Enum Constant and Description |
---|
DEFAULT |
EVENTUAL |
HYBRID |
TRANSACTIONAL |
TRANSACTIONAL_IF_POSSIBLE |
Modifier and Type | Method and Description |
---|---|
static QueryConsistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryConsistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryConsistency EVENTUAL
public static final QueryConsistency TRANSACTIONAL
public static final QueryConsistency DEFAULT
public static final QueryConsistency TRANSACTIONAL_IF_POSSIBLE
public static final QueryConsistency HYBRID
public static QueryConsistency[] values()
for (QueryConsistency c : QueryConsistency.values()) System.out.println(c);
public static QueryConsistency 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 nullCopyright © 2005–2019 Alfresco Software. All rights reserved.