public enum ShardTransactionLevel extends java.lang.Enum<ShardTransactionLevel>
| Enum Constant and Description |
|---|
GLOBAL |
MULTI_NODE |
NONE |
ONE_NODE |
| Modifier and Type | Method and Description |
|---|---|
static ShardTransactionLevel |
get(int aLevel) |
byte |
getValue() |
static ShardTransactionLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShardTransactionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShardTransactionLevel ONE_NODE
public static final ShardTransactionLevel MULTI_NODE
public static final ShardTransactionLevel GLOBAL
public static final ShardTransactionLevel NONE
public static ShardTransactionLevel[] values()
for (ShardTransactionLevel c : ShardTransactionLevel.values()) System.out.println(c);
public static ShardTransactionLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getValue()
public static ShardTransactionLevel get(int aLevel)