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