- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 ThreadPoolExecutor
创建线程最好使用ThreadPoolExecutor的方式1.Executors.newFixdThreadPool和Executors.newSingleThreadExecutor的方式创建, 因为它们允许的最大请求列队为Integer.MAX_VALUE,所有可能会堆积大量请求,从而导致OOM(内存溢出)2.Executors.newCachedThreadPool和Schedule
2017-12-16 11:18:24 138
原创 getWriter() has already been called for this response错误
在使用AOP时,出现了一个getWriter() has already been called for this response错误。 当时的代码是 @Around (EDP) public Object first(ProceedingJoinPoint joinPoint) throws Throwable { Object[] args = joi...
2017-12-03 02:02:23 1401
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人