上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: git config --global user.name "light-zhang" git config --global user.email "****@sina.cn" git config --global credential.helper cache cache不是windows 下 阅读全文
posted @ 2018-05-21 11:33 light-zhang 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 参考信息: https://launchpad.net/~webupd8team/+archive/ubuntu/java 阅读全文
posted @ 2018-05-19 22:07 light-zhang 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import net.sourceforge.pinyin... 阅读全文
posted @ 2018-05-14 15:07 light-zhang 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1.安装ssh服务 2.进入/etc/ssh/修改sshd_config配置文件,让其可以root权限登陆该服务器 3.重启ssh服务 阅读全文
posted @ 2018-05-14 09:35 light-zhang 阅读(3895) 评论(0) 推荐(0) 编辑
摘要: import java.time.Instant; import java.util.HashSet; import java.util.Random; import java.util.Set; import java.util.UUID; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3... 阅读全文
posted @ 2018-05-11 14:46 light-zhang 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: 一、一般调优的基本过程 1.明了需要调优的系统架构 2.设定性能调优的目标 3.明了目标当前的性能情况 4.找出目前的性能瓶颈的所在 5.解决引起性能瓶颈的根本问题 6.重复以上过程直到达到设定目标性能为止 二、性能指标: 吞吐率 并发数 三、调优点: 1.硬件配置优化: 虚拟机 物理机 CPU 内 阅读全文
posted @ 2018-04-19 11:00 light-zhang 阅读(1173) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigDecimal; import java.text.ParseException; import java.util.Calendar; import java.util.GregorianCalendar; import javax.annotation.Resource; import javax.servlet.http.HttpServletRe... 阅读全文
posted @ 2018-04-13 17:06 light-zhang 阅读(287) 评论(0) 推荐(0) 编辑
摘要: import java.lang.reflect.Type; import org.apache.commons.pool2.impl.GenericObjectPool; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import com.google.gson.Gson; public class JsonPo... 阅读全文
posted @ 2018-04-08 15:15 light-zhang 阅读(912) 评论(0) 推荐(0) 编辑
摘要: [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n [%-5level] %d{${DATETIME}... 阅读全文
posted @ 2018-04-08 14:06 light-zhang 阅读(15293) 评论(2) 推荐(0) 编辑
摘要: pom.xml com.google.guava guava-parent 23.6-jre package cc.zeelan.common.pool; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurre... 阅读全文
posted @ 2018-04-04 09:31 light-zhang 阅读(1468) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页