private static enum ReplicationLogCleanerBarrier.State extends Enum<ReplicationLogCleanerBarrier.State>
Enum Constant and Description |
---|
DISABLED |
NOT_RUNNING |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static ReplicationLogCleanerBarrier.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationLogCleanerBarrier.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationLogCleanerBarrier.State NOT_RUNNING
public static final ReplicationLogCleanerBarrier.State RUNNING
public static final ReplicationLogCleanerBarrier.State DISABLED
public static ReplicationLogCleanerBarrier.State[] values()
for (ReplicationLogCleanerBarrier.State c : ReplicationLogCleanerBarrier.State.values()) System.out.println(c);
public static ReplicationLogCleanerBarrier.State 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.