2014年2月19日

Jedis

摘要: transient,序列化(serializaion)的时候不会讲带有此关键字的变量序列化static class静态内部类:非static的inner class中不可声明static变量和方法非static的inner class可以随意的应用非static的outer class的非static变量和方法,static class只能引用static方法和变量创建static inner class的时候不需要将其实例绑定到outer class实例上Throwable是java.lang.Error和java.lang.Exception的父类JedisPool继承了Pool类,最原始 阅读全文

posted @ 2014-02-19 18:01 starfuxks 阅读(776) 评论(0) 推荐(0)

ActiveMQ源码分析

摘要: 对于Consumer的setMessageListener中的MessageListenerActiveMQMessageConsumer::setMessageListener public void setMessageListener(MessageListener listener) throws JMSException { checkClosed(); if (info.getPrefetchSize() == 0) { throw new JMSException( ... 阅读全文

posted @ 2014-02-19 11:31 starfuxks 阅读(600) 评论(0) 推荐(0)

导航