|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RegionState.State | |
---|---|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.zookeeper |
Uses of RegionState.State in org.apache.hadoop.hbase.master |
---|
Methods in org.apache.hadoop.hbase.master that return RegionState.State | |
---|---|
static RegionState.State |
RegionState.State.convert(ClusterStatusProtos.RegionState.State protoState)
Convert a protobuf HBaseProtos.RegionState.State to a RegionState.State |
RegionState.State |
RegionState.getState()
|
static RegionState.State |
RegionState.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RegionState.State[] |
RegionState.State.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.hadoop.hbase.master that return types with arguments of type RegionState.State | |
---|---|
Map<RegionState.State,List<HRegionInfo>> |
RegionStates.getRegionByStateOfTable(TableName tableName)
Gets current state of all regions of the table. |
Methods in org.apache.hadoop.hbase.master with parameters of type RegionState.State | |
---|---|
RegionState |
RegionStates.createRegionState(HRegionInfo hri,
RegionState.State newState,
ServerName serverName)
Add a region to RegionStates with the specified state. |
boolean |
RegionStates.isRegionInState(HRegionInfo hri,
RegionState.State... states)
|
boolean |
RegionStates.isRegionInState(String encodedName,
RegionState.State... states)
|
static boolean |
RegionState.isUnassignable(RegionState.State state)
Check if a region state is one of offline states that can't transition to pending_close/closing (unassign/offline) |
void |
RegionStates.regionOffline(HRegionInfo hri,
RegionState.State expectedState)
A region is offline, won't be in transition any more. |
RegionState |
RegionStates.updateRegionState(HRegionInfo hri,
RegionState.State state)
Update a region state. |
RegionState |
RegionStates.updateRegionState(HRegionInfo hri,
RegionState.State state,
ServerName serverName)
Update a region state. |
RegionState |
RegionStates.updateRegionState(RegionTransition transition,
RegionState.State state)
Update a region state. |
Constructors in org.apache.hadoop.hbase.master with parameters of type RegionState.State | |
---|---|
RegionState(HRegionInfo region,
RegionState.State state)
|
|
RegionState(HRegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName)
|
|
RegionState(HRegionInfo region,
RegionState.State state,
ServerName serverName)
|
Uses of RegionState.State in org.apache.hadoop.hbase.zookeeper |
---|
Methods in org.apache.hadoop.hbase.zookeeper with parameters of type RegionState.State | |
---|---|
static void |
MetaRegionTracker.setMetaLocation(ZooKeeperWatcher zookeeper,
ServerName location,
RegionState.State regionState)
Sets the location of hbase:meta in ZooKeeper to the
specified server address. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |