上一页 1 ··· 266 267 268 269 270 271 272 273 274 ··· 785 下一页
摘要: 一个基于Spring boot的一个demo: Java配置中开户对Scheduled的支持 import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.anno 阅读全文
posted @ 2016-09-02 13:51 沧海一滴 阅读(119058) 评论(7) 推荐(6)
摘要: Shallow Size (对象自身占用的内存大小)Retained Size (被GC后Heap上释放的内存大小)with outgoing references 我引用了谁 (查看对象为什么消耗内存,查看对象引用的其他对象)with incoming references 谁引用了我(查看对象被 阅读全文
posted @ 2016-09-02 13:32 沧海一滴 阅读(826) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { Set old = new HashSet(); for (int i = 0; i newSet = new HashSet(); newSet.add((long) 2); newSet.add((long) 11); // ... 阅读全文
posted @ 2016-09-01 14:41 沧海一滴 阅读(128) 评论(0) 推荐(0)
摘要: 1 开始 1.1 spring介绍 Spring Boot使开发独立的,产品级别的基于Spring的应用变得非常简单,你只需"just run"。 我们为Spring平台及第三方库提供开箱即用的设置,这样你就可以有条不紊地开始。多数Spring Boot应用需要很少的Spring配置。 你可以使用S 阅读全文
posted @ 2016-08-31 20:39 沧海一滴 阅读(860) 评论(0) 推荐(0)
摘要: /dev/urandom则是一个非阻塞的发生器: dev/random的一个副本是/dev/urandom (”unlocked”,非阻塞的随机数发生器),它会重复使用熵池中的数据以产生伪随机数据。这表示对/dev/urandom的读取操作不会产生阻塞,但其输出的熵可能小于/dev/random的。 阅读全文
posted @ 2016-08-31 20:37 沧海一滴 阅读(13781) 评论(0) 推荐(0)
上一页 1 ··· 266 267 268 269 270 271 272 273 274 ··· 785 下一页