public enum PDChecker extends Enum<PDChecker>
Enum Constant and Description |
---|
JointState |
Learner |
Merge |
Priority |
Replica |
Rule |
Split |
Modifier and Type | Method and Description |
---|---|
String |
apiName() |
static PDChecker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDChecker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDChecker Learner
public static final PDChecker Replica
public static final PDChecker Rule
public static final PDChecker Split
public static final PDChecker Merge
public static final PDChecker JointState
public static final PDChecker Priority
public static PDChecker[] values()
for (PDChecker c : PDChecker.values()) System.out.println(c);
public static PDChecker 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 nullpublic String apiName()
Copyright © 2024 PingCAP. All rights reserved.