public static enum WriteBuffer.STRATEGY extends Enum<WriteBuffer.STRATEGY>
| Enum Constant and Description |
|---|
DEL_OLD |
IGNORE_NEW |
JUST_WARN |
WAIT |
WRITE_NEW |
WRITE_OLD |
| Modifier and Type | Method and Description |
|---|---|
static WriteBuffer.STRATEGY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteBuffer.STRATEGY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteBuffer.STRATEGY WRITE_NEW
public static final WriteBuffer.STRATEGY WRITE_OLD
public static final WriteBuffer.STRATEGY IGNORE_NEW
public static final WriteBuffer.STRATEGY DEL_OLD
public static final WriteBuffer.STRATEGY JUST_WARN
public static final WriteBuffer.STRATEGY WAIT
public static WriteBuffer.STRATEGY[] values()
for (WriteBuffer.STRATEGY c : WriteBuffer.STRATEGY.values()) System.out.println(c);
public static WriteBuffer.STRATEGY 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 © 2022. All rights reserved.