public enum TSDispatchMode extends Enum<TSDispatchMode>
| Enum Constant and Description |
|---|
HASH_PRIMARY_KEY
哈希完整主键分桶派发
|
ROUND_ROBIN
循环遍历分桶派发
|
| Modifier and Type | Method and Description |
|---|---|
static TSDispatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TSDispatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TSDispatchMode ROUND_ROBIN
public static final TSDispatchMode HASH_PRIMARY_KEY
public static TSDispatchMode[] values()
for (TSDispatchMode c : TSDispatchMode.values()) System.out.println(c);
public static TSDispatchMode 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 © 2024. All Rights Reserved.