摘要: Usage of API documented as @since1.6+ File ->Project Structure->Project Settings -> Modules -> your Module name -> Sources -> Language Level->choose t 阅读全文
posted @ 2017-01-20 02:10 0xcafedaddy 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 今天在写页面静态化的时候,需要从mysql中查去昨天文章uuid,然后再从es中查询这些uuid的文章信息,再通过freemarker将信息写入html页面. 在写入页面的时候,考虑到单线程写入文件效率比较低,于是采用多线程方式将信息写入.这里出现了一个问题,这里可能重复的写入相同的html文件,这 阅读全文
posted @ 2017-01-20 02:07 0xcafedaddy 阅读(306) 评论(0) 推荐(0) 编辑