Servlet:
void init(ServletConfig var1) throws ServletException;
ServletConfig getServletConfig();
void service(ServletRequest var1, ServletResponse var2) throws ServletException, IOException;
String getServletInfo();
void destroy();
jvm优化:
常用命令:
top
free
jmap -option pid
新建项目无法导入包:maven-Lifecycle-install reimport
MySql:
开启binlog:my.cnf添加
- log_bin=mysqlbinlog (如果选其他目录,需要添加mysql用户权限)
- server-id=10 (mysql版本>=5.7.20需要添加此配置,一个任意数字,区别与其他节点)