public enum ClusterSetSlotOption extends Enum<ClusterSetSlotOption>
枚举常量和说明 |
---|
IMPORTING
将一个哈希槽设置为 importing 状态
|
MIGRATING
将一个哈希槽设置为 migrating 状态
|
NODE
将一个哈希槽绑定到另一个不同的节点
|
STABLE
从哈希槽中清除导入和迁移状态
|
public static final ClusterSetSlotOption IMPORTING
public static final ClusterSetSlotOption MIGRATING
public static final ClusterSetSlotOption STABLE
public static final ClusterSetSlotOption NODE
public static ClusterSetSlotOption[] values()
for (ClusterSetSlotOption c : ClusterSetSlotOption.values()) System.out.println(c);
public static ClusterSetSlotOption valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2023 buession.com Inc.. All rights reserved.