- 博客(8)
- 收藏
- 关注
原创 redis集群,在集群运行时段时间出现master 丢失
[b]机器配置[/b]:云主机1核心 2g的[b]部署与事发生状态[/b]使用redisRedis 3.0.6 (00000000/0) 64 bit ,运行了一段时间出现问题[img]http://dl2.iteye.com/upload/attachment/0122/9510/d0f52ff2-3216-364c-a0af-fce9c85daecd.jpg[/img]...
2017-02-08 14:50:27 1026
原创 撒+111111111111111111111
http://rednaxelafx.iteye.com/http://alicsd.iteye.com/blog/868702
2011-01-11 16:35:05 85
原创 11111111
private static WorkerThreadPool sendTaskThreadPool = new WorkerThreadPool("task",minSendNum,maxSendNum,queueCapacity,blockedMode); public static WorkerThreadPool getSendTaskThreadPool() ...
2010-08-26 11:39:58 129
原创 Properties
Properties p=new Properties(); p.load(test.class.getClassLoader().getSystemResourceAsStream("tag/pageResource_zh_CN.properties")) ; System.out.println(p.get("hello"));
2010-08-24 20:37:04 129
原创 ResourceBundle国际化
java中读取配置文件的信息可以采用properties这个类,但是当遇到国际化问题的时候还是不好解决,因而还是最好使用ResourceBundle这个类,其实ResourceBundle本质上和Properties一样也是一个映射,都是以键值对的形式保存信息,但是其显得更加灵活,当调用ResourceBundle res=ResourceBundle.getBundle("area", Loca...
2010-08-24 20:33:00 98
原创 MessageFormat
public class test { public static void main(String[] args) throws IOException { MessageFormat form = new MessageFormat("The disk \"{1}\" contains {0}---------{2}"); int fileCount...
2010-08-24 20:19:16 101
原创 log4j
http://www.iteye.com/topic/378077http://download.oracle.com/javase/1.5.0/docs/guide/management/jconsole.htmlhttp://202.165.104.79/babelfish/translate_url_content?lp=en_zh&trurl=http%3a%2f%...
2010-08-24 16:22:00 86
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人