We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
线程池的核心讲解 核心参数
corePoolsize : 线程中允许的核心线程数
maximumPoolsize : 该线程所允许的最大线程数
keepAliveTime : 空余线程的存活时间并不会对所有的线程起作用 如果线程数大于corePoolsize 那么这些线程就不会因为被空闲太久而关闭 除非你调用 allowcorethreadtimeout 方法 这个方法可以使核心线程数也被回收
这个大于用错了 应该是小于
The text was updated successfully, but these errors were encountered:
No branches or pull requests
线程池的核心讲解
核心参数
corePoolsize : 线程中允许的核心线程数
maximumPoolsize : 该线程所允许的最大线程数
keepAliveTime : 空余线程的存活时间并不会对所有的线程起作用 如果线程数大于corePoolsize 那么这些线程就不会因为被空闲太久而关闭 除非你调用 allowcorethreadtimeout 方法 这个方法可以使核心线程数也被回收
这个大于用错了 应该是小于
The text was updated successfully, but these errors were encountered: