摘要:
git config --global user.name "light-zhang" git config --global user.email "****@sina.cn" git config --global credential.helper cache cache不是windows 下 阅读全文
摘要:
参考信息: https://launchpad.net/~webupd8team/+archive/ubuntu/java 阅读全文
摘要:
import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import net.sourceforge.pinyin... 阅读全文
摘要:
1.安装ssh服务 2.进入/etc/ssh/修改sshd_config配置文件,让其可以root权限登陆该服务器 3.重启ssh服务 阅读全文
摘要:
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... 阅读全文
摘要:
一、一般调优的基本过程 1.明了需要调优的系统架构 2.设定性能调优的目标 3.明了目标当前的性能情况 4.找出目前的性能瓶颈的所在 5.解决引起性能瓶颈的根本问题 6.重复以上过程直到达到设定目标性能为止 二、性能指标: 吞吐率 并发数 三、调优点: 1.硬件配置优化: 虚拟机 物理机 CPU 内 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
[%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n [%-5level] %d{${DATETIME}... 阅读全文
摘要:
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... 阅读全文