public enum ShardState extends Enum<ShardState>
| 枚举常量和说明 |
|---|
ACTIVE
Only in this state, you can put records into the shard or get records from the shard.
|
CLOSED
Shard will become this state if you split a shard.
|
CLOSING |
INACTIVE |
OPENING |
public static final ShardState OPENING
public static final ShardState ACTIVE
public static final ShardState CLOSED
public static final ShardState CLOSING
public static final ShardState INACTIVE
public static ShardState[] values()
for (ShardState c : ShardState.values()) System.out.println(c);
public static ShardState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021 Alibaba Cloud Computing. All rights reserved.