public enum ZookeeperIdEngineMode extends Enum<ZookeeperIdEngineMode>
| 枚举常量和说明 |
|---|
DATA_VERSION
data version mode, the id = dataVersion
|
DATA_ZX_MID
data zxmid mode, the id = zxmid - zxcid
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022. All rights reserved.