public static enum RegionStates.ServerState extends Enum<RegionStates.ServerState>
| 枚举常量和说明 |
|---|
OFFLINE
WAL splitting done.
|
ONLINE
Initial state.
|
SPLITTING
Server expired/crashed.
|
SPLITTING_META
Only server which carries meta can have this state.
|
SPLITTING_META_DONE
Indicate that the meta splitting is done.
|
public static final RegionStates.ServerState ONLINE
public static final RegionStates.ServerState SPLITTING_META
public static final RegionStates.ServerState SPLITTING_META_DONE
public static final RegionStates.ServerState SPLITTING
public static final RegionStates.ServerState OFFLINE
public static RegionStates.ServerState[] values()
for (RegionStates.ServerState c : RegionStates.ServerState.values()) System.out.println(c);
public static RegionStates.ServerState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.