public boolean allowClose() {
    return isAllowClose;
  }
Gets the allowClose flag which determines if it is allowed to close metastore connections.
@return allowClose flag
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java