}
public DisableTableHandler prepare()
throws TableNotFoundException, TableNotEnabledException, IOException {
if(tableName.equals(TableName.META_TABLE_NAME)) {
throw new ConstraintException("Cannot disable catalog table");
}
//acquire the table write lock, blocking
this.tableLock = this.tableLockManager.writeLock(tableName,
EventType.C_M_DISABLE_TABLE.toString());
this.tableLock.acquire();