年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- 淡看人生
- ranbuijj
- gdpglc
- ssydxa219
- wallimn
- vipbooks
- hanbaohong
- jickcai
- johnsmith9th
- javashop
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- panshunchang
- ouanui
最新文章列表
unauthenticated user
blog迁移至
:http://www.micmiu.com
今天写了个简单连接数据库的程序,在远程连接mysql 时发现明显慢,后来登录mysql后查看当前连接情况,命令如下:
mysql>show processlist;
发现大量的unauthenticated user信息,如下图:
经搜索知道是因为mysql开启了反向域名解析的功能。
...
JAVA线程池ThreadPoolExecutor
blog迁移至:http://www.micmiu.com
java.util.concurrent.ThreadPoolExecutor相关基础介绍和使用示例。
[ 一 ]、常用线程池
最常用构造方法为:
ThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
...
@Override must override a superclass method
blog迁移至:http://www.micmiu.com
在用Eclipse开发Java项目时,@Override 注解时会出现以下错误提示:
The method *** of type *** must override a superclass method
主要是因为该项目的Compiler comliance level的值设置不正确造成的,5.0是不支持@Override等 ...