Package com.alibaba.wasp

Examples of com.alibaba.wasp.ChildrenExistException


    ftable = FMetaReader.getTable(server.getConfiguration(), tableNameStr);
    if (ftable.isRootTable()) {
      List<FTable> childTables = FMetaReader.getChildTable(
          server.getConfiguration(), tableNameStr);
      if (childTables != null && childTables.size() > 0) {
        throw new ChildrenExistException(tableNameStr + " has child");
      }
    }
    if (tableLockManager.lockTable(tableNameStr)) {
      LOG.info("lock table '" + tableNameStr + "' by DeleteTableHandler");
    } else {
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.ChildrenExistException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.