摘要:
一、PooledByteBufAllocator的创建 PooledByteBufAllocator顾名思义,就是一个用于分配PooledByteBuf的分配器 现在有以下例子程序 public class Test { public static void main(String[] args) 阅读全文
摘要:
一、工作线程的启动 ForkJoinPool创建的工作线程类型为ForkJoinWorkerThread,下面是它的run方法 1.1 启动扫描任务 public void run() { if (workQueue.array == null) { // only run once Throwab 阅读全文
摘要:
多结果集 下面的例子来自http://www.mybatis.org/mybatis-3/zh/sqlmap-xml.html 有两条sql语句 SELECT * FROM BLOG WHERE ID = #{id} SELECT * FROM AUTHOR WHERE ID = #{id} 有下x 阅读全文