摘要: Java JDK代理、CGLIB、AspectJ代理分析比较 转载自: https://blog.csdn.net/a837199685/article/details/68930987 Java ASM https://www.baeldung.com/java-asm 阅读全文
posted @ 2019-04-29 15:39 chenatu 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://blog.cloudflare.com/io_submit-the-epoll-alternative-youve-never-heard-about/ 阅读全文
posted @ 2019-03-19 16:19 chenatu 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 很好的文章 https://eklitzke.org/blocking-io-nonblocking-io-and-epoll 阅读全文
posted @ 2019-03-19 15:54 chenatu 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 在fastjson中如果JSONObject中添加了 String[] 类型的元素例如JSONObject jo = new JSONObject();String[] array = {"1", "2"};jo.put("array", array);将JSONObject中String[]提取出... 阅读全文
posted @ 2015-11-20 20:39 chenatu 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: 做kafka相关项目,需要用到监控的东东,找到了两个方法第一个:http://quantifind.com/KafkaOffsetMonitor/非常容易上手,效果也直观,可以显示各个topic consumer的offset broker存储log的长度不过发现一个bug就是当 consumer没... 阅读全文
posted @ 2014-12-17 15:51 chenatu 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 之前手欠把linux分区给删了想重装freebsd重新进入的时候mbr提示grub信息用PE把MBR删掉之后再用freebsd光盘启动出现mountroot>就用mountroot> cd9660:/dev/iso9660/FREEBSD_INSTALL ro引导就可以啦 阅读全文
posted @ 2013-09-04 10:24 chenatu 阅读(953) 评论(0) 推荐(0) 编辑
摘要: SRM144 DIV1 1100 pointProblem StatementNOTE: There are images in the examples section of this problem statement that help describe the problem. Please view the problem statement in the HTML window to view them.Given a picture composed entirely of horizontal and vertical line segments, calculate the 阅读全文
posted @ 2013-08-11 21:07 chenatu 阅读(439) 评论(0) 推荐(0) 编辑
摘要: Problem StatementIn most states, gamblers can choose from a wide variety of different lottery games. The rules of a lottery are defined by two integers (choices and blanks) and two boolean variables (sorted and unique). choices represents the highest valid number that you may use on your lottery tic 阅读全文
posted @ 2013-07-11 23:44 chenatu 阅读(285) 评论(0) 推荐(0) 编辑
摘要: datanode会根据block size去选择一些datanode.在用DFSClient.copyfromlocal的情况下,block size是由参数fs.local.block.size决定的.其他情况下,是由dfs.block.size决定的. 阅读全文
posted @ 2013-04-23 10:48 chenatu 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 今天在给ubuntu12.10安装openssh-server的时候发现安装冲突研究了一会发现是我把源给改了,配置成清华本地比较快的源,但是这个源还没更新到12.10改成官方源或者163的新源,问题就解决了 阅读全文
posted @ 2012-12-19 14:27 chenatu 阅读(282) 评论(0) 推荐(0) 编辑