public static enum WALActionsListener.RollRequestReason extends Enum<WALActionsListener.RollRequestReason>
Enum Constant and Description |
---|
ERROR
I/O or other error.
|
LOW_REPLICATION
Too few replicas in the writer pipeline.
|
SIZE
The length of the log exceeds the roll size threshold.
|
SLOW_SYNC
Too much time spent waiting for sync.
|
Modifier and Type | Method and Description |
---|---|
static WALActionsListener.RollRequestReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WALActionsListener.RollRequestReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WALActionsListener.RollRequestReason SIZE
public static final WALActionsListener.RollRequestReason LOW_REPLICATION
public static final WALActionsListener.RollRequestReason SLOW_SYNC
public static final WALActionsListener.RollRequestReason ERROR
public static WALActionsListener.RollRequestReason[] values()
for (WALActionsListener.RollRequestReason c : WALActionsListener.RollRequestReason.values()) System.out.println(c);
public static WALActionsListener.RollRequestReason 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 © 2007–2020 The Apache Software Foundation. All rights reserved.