/** * @param openTables External list of tables used for tracking wrappers. * @throws IOException */ public static HTableInterface createWrapper(List<HTableInterface> openTables, TableName tableName, Environment env, ExecutorService pool) throws IOException { return new HTableWrapper(openTables, tableName, CoprocessorHConnection.getConnectionForEnvironment(env), pool); }