public static enum TerracottaConfiguration.Consistency extends Enum<TerracottaConfiguration.Consistency>
Enum Constant and Description |
---|
EVENTUAL
Eventual consistency
|
STRONG
Strong consistency
|
Modifier and Type | Method and Description |
---|---|
static TerracottaConfiguration.Consistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerracottaConfiguration.Consistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerracottaConfiguration.Consistency STRONG
public static final TerracottaConfiguration.Consistency EVENTUAL
public static TerracottaConfiguration.Consistency[] values()
for (TerracottaConfiguration.Consistency c : TerracottaConfiguration.Consistency.values()) System.out.println(c);
public static TerracottaConfiguration.Consistency 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 © 2003-2013 Terracotta, Inc.. All Rights Reserved.