public class TableState extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_RUNNING
A potentially table locking deletion is running
|
static int |
FREE
The table is free.
|
static int |
OPTIMIZATION_RUNNING
A table locking optimization is running.
|
Constructor and Description |
---|
TableState(String tableName)
Construct a usable table state.
|
Modifier and Type | Method and Description |
---|---|
int |
getState() |
String |
getTableName() |
void |
setState(int state) |
void |
setTableName(String tableName) |
String |
toString()
Write out the values for debugging purposes.
|
public static final int FREE
public static final int DELETE_RUNNING
public static final int OPTIMIZATION_RUNNING
public TableState(String tableName)
tableName
- public void setTableName(String tableName)
tableName
- The tableName to set.public String getTableName()
public void setState(int state)
state
- The state to set.public int getState()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.