public enum ZookeeperIdEngineMode extends Enum<ZookeeperIdEngineMode>
| Enum Constant and Description |
|---|
DATA_VERSION
data version mode, the id = dataVersion
|
DATA_ZX_MID
data zxmid mode, the id = zxmid - zxcid
|
| Modifier and Type | Method and Description |
|---|---|
static ZookeeperIdEngineMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZookeeperIdEngineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZookeeperIdEngineMode DATA_VERSION
public static final ZookeeperIdEngineMode DATA_ZX_MID
public static ZookeeperIdEngineMode[] values()
for (ZookeeperIdEngineMode c : ZookeeperIdEngineMode.values()) System.out.println(c);
public static ZookeeperIdEngineMode 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 © 2021. All rights reserved.