上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 229 下一页
摘要: 关于keepalived的详细介绍,请移步本人相关博客:http://wangfeng7399.blog.51cto.com/3518031/1405785功能ip地址安装软件主redis10.13.6.13redis,keepalived从redis10.13.6.16redis,keepaliv... 阅读全文
posted @ 2014-12-23 16:20 一天不进步,就是退步 阅读(388) 评论(0) 推荐(1) 编辑
摘要: // 获取真实IP的方法() public String getIpAddr() { String ip = request.getHeader("x-forwarded-for"); if (ip == null || ip.length() == 0 || "unknown".equals... 阅读全文
posted @ 2014-12-23 15:41 一天不进步,就是退步 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: 一、简介 Exchanger是自jdk1.5起开始提供的工具套件,一般用于两个工作线程之间交换数据。在本文中我将采取由浅入深的方式来介绍分析这个工具类。首先我们来看看官方的api文档中的叙述:A synchronization point at which threads can pair and ... 阅读全文
posted @ 2014-12-23 09:51 一天不进步,就是退步 阅读(11877) 评论(4) 推荐(0) 编辑
摘要: [This article was originally written by Yves Trudeau.]http://java.dzone.com/articles/exploring-message-brokersMessage brokersare not regularly covered... 阅读全文
posted @ 2014-12-22 13:55 一天不进步,就是退步 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: You wanna look at a JVM class while you are coding and you cannot. Here is the solution.First of all,downloadyour related JDK source code files unless... 阅读全文
posted @ 2014-12-22 09:47 一天不进步,就是退步 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.sina.com.cn/s/blog_7cc0c8cc0101mb4a.html1.下载并安装erlang,http://www.erlang.org/download.html,最新版是R15B01(5.9.1)。由于我机器是64位的Win7,所以找到otp_wi... 阅读全文
posted @ 2014-12-19 14:45 一天不进步,就是退步 阅读(361) 评论(0) 推荐(0) 编辑
摘要: @Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface Bean Indicates that a method produces a bean to be man 阅读全文
posted @ 2014-12-19 14:18 一天不进步,就是退步 阅读(9622) 评论(0) 推荐(0) 编辑
摘要: http://www.javacodegeeks.com/2012/11/mybatis-tutorial-crud-operations-and-mapping-relationships-part-1.htmlCRUD OperationsMyBatis is an SQL Mapper too... 阅读全文
posted @ 2014-12-16 15:05 一天不进步,就是退步 阅读(1171) 评论(0) 推荐(0) 编辑
摘要: 在使用js中的"=="进行字符串的比较时,发现在英文情况下是ok的,但在中文比较时则不行了。在网上搜索,提供了一个解决方法,使用stringObject.localeCompare(target)来解决中文比较问题。string_a.localeCompare(string_b);/* Return... 阅读全文
posted @ 2014-12-16 14:19 一天不进步,就是退步 阅读(5296) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.infoq.com/cn/news/2014/03/interview-alibaba-wangjingyu对于大型的互联网业务来说,消息系统是必不可少的基础服务。 子柳 在《淘宝技术这十年》中为大家展示了阿里消息系统架构的概貌,作为集团业务使用的核心基础服务,目前消息系... 阅读全文
posted @ 2014-12-15 12:59 一天不进步,就是退步 阅读(1337) 评论(0) 推荐(0) 编辑
上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 229 下一页