摘要:
先来一个经典的双重校验的单例 public class Singleton { private static volatile Singleton instances; private Singleton(){ } public static Singleton getInstance(){ if 阅读全文
摘要:
centos6 有方便统一的管理方式(常用的方法) service 服务名 start service 服务名 stop service 服务名 restart service 服务名 reload service 服务名 status 查看服务的方法 /etc/init.d/服务名 通过chkco 阅读全文