随笔分类 -  Java

springboot2.2 单元测试记录找不到dao的问题
摘要:一定不要漏了扫描dao层的映射文件 阅读全文

posted @ 2020-12-24 11:38 AlphaGo1号 阅读(236) 评论(0) 推荐(0)

Java8内存模型
摘要: 阅读全文

posted @ 2020-10-27 17:24 AlphaGo1号 阅读(54) 评论(0) 推荐(0)

线程池ThreadPool
摘要:线程池ThreadPoolExecutor ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(3, 5, 10L, TimeUnit.MINUTES, new LinkedBlockingQueue<Runnable>(3) 阅读全文

posted @ 2020-10-27 16:15 AlphaGo1号 阅读(158) 评论(0) 推荐(0)

BlockingQueue基本操作的特性
摘要:BlockingQueue 方法以四种形式出现,对于不能立即满足但可能在将来某一时刻可以满足的操作,这四种形式的处理方式不同:第一种是抛出一个异常,第二种是返回一个特殊值(null 或 false,具体取决于操作),第三种是在操作可以成功前,无限期地阻塞当前线程,第四种是在放弃前只在给定的最大时间限 阅读全文

posted @ 2017-05-31 14:39 AlphaGo1号

java访问权限范围
摘要: 阅读全文

posted @ 2017-03-27 14:57 AlphaGo1号 阅读(97) 评论(0) 推荐(0)

String,StringBuilder的可变性
摘要: 阅读全文

posted @ 2017-03-15 10:30 AlphaGo1号 阅读(114) 评论(0) 推荐(0)

导航