public enum TSWriteMode extends Enum<TSWriteMode>
| Enum Constant and Description |
|---|
PARALLEL
并行写
不同桶间并发,同一个桶内也会并行请求
|
SEQUENTIAL
串行写:
不同桶间并发,同一个桶内串行请求
|
| Modifier and Type | Method and Description |
|---|---|
static TSWriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TSWriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TSWriteMode SEQUENTIAL
public static final TSWriteMode PARALLEL
public static TSWriteMode[] values()
for (TSWriteMode c : TSWriteMode.values()) System.out.println(c);
public static TSWriteMode 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.