上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 35 下一页
摘要: 参考 深入理解JVM(七)——性能监控工具 JVM性能调优监控工具专题一 JVM调优总结 + jstat 分析 1. 进入 jdk 目录 cd /usr/local/jdk/bin 或 cd $JAVA_HOME 2. 查询所有 java进程信息 jps (推荐) jps -v 3.查询 java进 阅读全文
posted @ 2018-06-07 19:23 zslm___ 阅读(181) 评论(0) 推荐(0)
摘要: <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito</artifactId> <version>1.6.5</version> <scope>test</scope> </dependency 阅读全文
posted @ 2018-06-06 11:19 zslm___ 阅读(1647) 评论(0) 推荐(0)
摘要: 1.新建项目(选择quikstart) 2.增加spring boot 依赖 3.添加 springboot打包jar 插件依赖 参考 Spring Boot的Maven插件Spring Boot Maven plugin详解 4. 设置启动 application.properties 设置 5. 阅读全文
posted @ 2018-05-30 15:45 zslm___ 阅读(5367) 评论(0) 推荐(0)
摘要: 1.安装VMware 2.在VMware里安装 CentOs 镜像(CentOS-7.2-x86_64-DVD-1511.iso) 3.启动CentOs后如果不能上网,或者 没有 ifconfig命令,那么 需要安装 net-tools工具等 在虚拟机中以最小化方式安装centos7,后无法上网,因 阅读全文
posted @ 2018-05-22 18:43 zslm___ 阅读(417) 评论(0) 推荐(0)
摘要: /// /// 普通插入 /// [Fact] public void InsertOrder_Tests() { _sqlMapper.Setup(d => d.BeginTransaction()); _sqlMapper.Setup(d => d.Commit... 阅读全文
posted @ 2018-05-22 17:02 zslm___ 阅读(319) 评论(0) 推荐(0)
摘要: using System.Runtime.Serialization; /// /// 通用分页请求类 /// [DataContract] public class PagedListModelReq : Request { /// /// Initializes a new instance of the... 阅读全文
posted @ 2018-05-22 16:56 zslm___ 阅读(761) 评论(0) 推荐(0)
摘要: 默认groupingBy代码里会生成一个HashMap(hashMap是无序的,put的顺序与get的顺序不一致) HashMap是无序的,HashMap在put的时候是根据key的hashcode进行hash然后放入对应的地方。所以在按照一定顺序put进HashMap中,然后遍历出HashMap的 阅读全文
posted @ 2018-05-22 09:52 zslm___ 阅读(35120) 评论(2) 推荐(6)
摘要: 第2种算法 阅读全文
posted @ 2018-05-15 19:32 zslm___ 阅读(1951) 评论(0) 推荐(0)
摘要: private Set getCodes(String s) { Set resultSet = new HashSet(); Matcher matcher = codePattern.matcher(s); while (matcher.find()) { resultSet.add(matcher.group(... 阅读全文
posted @ 2018-05-11 09:41 zslm___ 阅读(1173) 评论(0) 推荐(0)
摘要: csredis 博客 csRedisgit地址 csRedis3.2.1 Nuget地址 (在使用csredis3.2.1获取sentinel时产生运行时异常,调查问题最后发现是获取sentinel的s-down-time配置参数存在问题。在sentinel集群中并非每个sentinel都能获取到这 阅读全文
posted @ 2018-05-07 09:29 zslm___ 阅读(2445) 评论(0) 推荐(1)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 35 下一页