Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.protobuf.generated | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
void |
TableStateManager.checkAndRemoveTableState(TableName tableName,
ZooKeeperProtos.Table.State states,
boolean deletePermanentState)
If the table is found in the given state the in-memory state is removed.
|
Set<TableName> |
TableStateManager.getTablesInStates(ZooKeeperProtos.Table.State... states) |
boolean |
TableStateManager.isTableState(TableName tableName,
boolean checkSource,
ZooKeeperProtos.Table.State... states) |
boolean |
TableStateManager.isTableState(TableName tableName,
ZooKeeperProtos.Table.State... states) |
void |
TableStateManager.setTableState(TableName tableName,
ZooKeeperProtos.Table.State state)
Sets the table into desired state.
|
boolean |
TableStateManager.setTableStateIfInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Sets the specified table into the newState, but only if the table is already in
one of the possibleCurrentStates (otherwise no operation is performed).
|
boolean |
TableStateManager.setTableStateIfInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Sets the specified table into the newState, but only if the table is already in
one of the possibleCurrentStates (otherwise no operation is performed).
|
boolean |
TableStateManager.setTableStateIfNotInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Sets the specified table into the newState, but only if the table is NOT in
one of the possibleCurrentStates (otherwise no operation is performed).
|
boolean |
TableStateManager.setTableStateIfNotInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Sets the specified table into the newState, but only if the table is NOT in
one of the possibleCurrentStates (otherwise no operation is performed).
|
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.Table.State |
ZooKeeperProtos.TableOrBuilder.getState()
required .Table.State state = 1 [default = ENABLED]; |
ZooKeeperProtos.Table.State |
ZooKeeperProtos.Table.getState()
required .Table.State state = 1 [default = ENABLED]; |
ZooKeeperProtos.Table.State |
ZooKeeperProtos.Table.Builder.getState()
required .Table.State state = 1 [default = ENABLED]; |
static ZooKeeperProtos.Table.State |
ZooKeeperProtos.Table.State.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ZooKeeperProtos.Table.State |
ZooKeeperProtos.Table.State.valueOf(int value) |
static ZooKeeperProtos.Table.State |
ZooKeeperProtos.Table.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperProtos.Table.State[] |
ZooKeeperProtos.Table.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperProtos.Table.State> |
ZooKeeperProtos.Table.State.internalGetValueMap() |
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.Table.Builder |
ZooKeeperProtos.Table.Builder.setState(ZooKeeperProtos.Table.State value)
required .Table.State state = 1 [default = ENABLED]; |
Modifier and Type | Method and Description |
---|---|
void |
ZKTableStateManager.checkAndRemoveTableState(TableName tableName,
ZooKeeperProtos.Table.State states,
boolean deletePermanentState)
If the table is found in the given state the in-memory state is removed.
|
Set<TableName> |
ZKTableStateManager.getTablesInStates(ZooKeeperProtos.Table.State... states)
Gets a list of all the tables set as disabling in zookeeper.
|
boolean |
ZKTableStateManager.isTableState(TableName tableName,
boolean checkSource,
ZooKeeperProtos.Table.State... states)
Checks if table is marked in specified state in ZK.
|
boolean |
ZKTableStateManager.isTableState(TableName tableName,
ZooKeeperProtos.Table.State... states)
Checks if table is marked in specified state in ZK (using cache only).
|
void |
ZKTableStateManager.setTableState(TableName tableName,
ZooKeeperProtos.Table.State state)
Sets table state in ZK.
|
boolean |
ZKTableStateManager.setTableStateIfInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Checks and sets table state in ZK.
|
boolean |
ZKTableStateManager.setTableStateIfInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Checks and sets table state in ZK.
|
boolean |
ZKTableStateManager.setTableStateIfNotInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Checks and sets table state in ZK.
|
boolean |
ZKTableStateManager.setTableStateIfNotInStates(TableName tableName,
ZooKeeperProtos.Table.State newState,
ZooKeeperProtos.Table.State... states)
Checks and sets table state in ZK.
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.