public class TableState
extends java.lang.Object
implements java.io.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(java.lang.String tableName)
Construct a usable table state.
|
Modifier and Type | Method and Description |
---|---|
int |
getState() |
java.lang.String |
getTableName() |
void |
setState(int state) |
void |
setTableName(java.lang.String tableName) |
java.lang.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(java.lang.String tableName)
tableName
- public void setTableName(java.lang.String tableName)
tableName
- The tableName to set.public java.lang.String getTableName()
public void setState(int state)
state
- The state to set.public int getState()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.