摘要: 具体文档参见: Python语言规范:https://zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/python_language_rules/#id4 Python编码规范:https://zh-goo 阅读全文
posted @ 2018-12-27 14:48 梦想在前,我在后 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 一、命令 1、发布消息 publish channel message 2、订阅消息 subscribe channel [channel ...] 注意:a.客户端在执行订阅命令之后进入订阅状态,只能接收subscribe、psubscribe、unsubscribe、punsubscribe的四 阅读全文
posted @ 2017-08-03 14:55 梦想在前,我在后 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 一、全局命令 1.查看所有键 keys * 2.键总数 dbsize 3.检查键是否存在 exists key :存在返回1,不存在返回0 4.删除键 del key [key ...]:返回结果为成功删除键的个数,删除一个不存在的键返回0 5.键过期 expire key seconds / tt 阅读全文
posted @ 2017-07-19 14:16 梦想在前,我在后 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 一、准备工作 1、下载dubbo源码,地址:https://github.com/alibaba/dubbo;并将源码导入eclipse 2、启动zookeeper注册中心服务; 3、通过debug的方式运行dubbo-demo,跟进分析源码;如下图运行DemoProvider.java中的main 阅读全文
posted @ 2017-05-23 17:14 梦想在前,我在后 阅读(5480) 评论(1) 推荐(0) 编辑
摘要: http://blog.csdn.net/u010246789/article/details/52101026 阅读全文
posted @ 2017-04-14 10:03 梦想在前,我在后 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 官网地址:https://github.com/alibaba/dubbo/wiki/源码分析 https://github.com/daniellitoc/dubbo-Research/tree/readme/dubbo-config/dubbo-config-spring https://git 阅读全文
posted @ 2017-04-10 16:28 梦想在前,我在后 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Dubbo是什么? Dubbo |ˈdʌbəʊ| 是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,以及SOA服务治理方案。 其核心部分包含: 远程通讯: 提供对多种基于长连接的NIO框架抽象封装,包括多种线程模型,序列化,以及“请求-响应”模式的信息交换方式。 集群容错: 提 阅读全文
posted @ 2017-04-10 16:27 梦想在前,我在后 阅读(340) 评论(0) 推荐(0) 编辑
摘要: java.lang.annotation.Retention 在自定义Annotation的时候,指示编译程序该如何对待该Annotation。预设上编译程序会将Annotation信息留在.class档案中,但不被虚拟机读取,而仅仅用于编译程序或工具程序运行时提供信息。 注意:在使用Retenti 阅读全文
posted @ 2014-09-17 17:33 梦想在前,我在后 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1. 综述Jmockit官网示例:http://jmockit.github.io/tutorial/AnExample.htmlJmockit是一个mock框架,针对jmockit的介绍请查看http://www.taobaotest.com/blogs/2277,以下内容针对具体的使用场景进行介... 阅读全文
posted @ 2014-08-26 09:27 梦想在前,我在后 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 1.easyui获取datagrid分页组件的当前pageSize和pageNumber方法: //获取到pager var pager = $('#grid').datagrid('getPager'); //获取options var pageOpts = pager.data('paginat 阅读全文
posted @ 2014-07-25 15:08 梦想在前,我在后 阅读(183) 评论(0) 推荐(0) 编辑