当前位置: 首页 > news >正文

如何创建div做网站企业为什么需要手机网站

如何创建div做网站,企业为什么需要手机网站,滁州seo,河南新闻头条最新消息创建EventLoopGroup使用无参构造方法时#xff0c;发现会创建24个NioEventLoop#xff08;readonlyChildren.size24#xff09;,经查#xff0c;是取的java虚拟机的可用处理器数2倍。源码如下#xff1a; 重点就是最后哪个方法的注释#xff1a;Returns the number of p…创建EventLoopGroup使用无参构造方法时发现会创建24个NioEventLoopreadonlyChildren.size24,经查是取的java虚拟机的可用处理器数2倍。源码如下 重点就是最后哪个方法的注释Returns the number of processors available to the Java virtual machine.(返回Java虚拟机可用的处理器数。) /*** see MultithreadEventExecutorGroup#MultithreadEventExecutorGroup(int, Executor, Object...)*/protected MultithreadEventLoopGroup(int nThreads, Executor executor, Object... args) {//如果没指定线程数则取默认的DEFAULT_EVENT_LOOP_THREADS super(nThreads 0 ? DEFAULT_EVENT_LOOP_THREADS : nThreads, executor, args);}private static final int DEFAULT_EVENT_LOOP_THREADS;static {//核心逻辑就是看NettyRuntime.availableProcessors() * 2DEFAULT_EVENT_LOOP_THREADS Math.max(1, SystemPropertyUtil.getInt(io.netty.eventLoopThreads, NettyRuntime.availableProcessors() * 2));if (logger.isDebugEnabled()) {logger.debug(-Dio.netty.eventLoopThreads: {}, DEFAULT_EVENT_LOOP_THREADS);}}/*** Get the configured number of available processors. The default is {link Runtime#availableProcessors()}.* This can be overridden by setting the system property io.netty.availableProcessors or by invoking* {link #setAvailableProcessors(int)} before any calls to this method.** return the configured number of available processors*/SuppressForbidden(reason to obtain default number of available processors)synchronized int availableProcessors() {//如果availableProcessors 0还未设置过就取Runtime.getRuntime().availableProcessors()if (this.availableProcessors 0) {final int availableProcessors SystemPropertyUtil.getInt(io.netty.availableProcessors,Runtime.getRuntime().availableProcessors());setAvailableProcessors(availableProcessors);}return this.availableProcessors;}}/*** Returns the number of processors available to the Java virtual machine.** p This value may change during a particular invocation of the virtual* machine. Applications that are sensitive to the number of available* processors should therefore occasionally poll this property and adjust* their resource usage appropriately. /p** return the maximum number of processors available to the virtual* machine; never smaller than one* since 1.4*/public native int availableProcessors();
http://www.huolong8.cn/news/174776/

相关文章:

  • WordPress英文换行沈阳seo专业培训
  • 网站做项目网站分成几种类型
  • 网站开发与技术分析网站网络优化服务
  • 安溪建设局网站多用户商城系统的效果
  • 建立学校网站需要多少钱?wordpress段落缩进
  • 当前网站开发用什么软件衡水城乡建设局网站
  • 怎么做网站的用户注册营销型网站易网拓
  • 网站建设太难了wordpress破解版下载
  • 哪个网站可以做puzzle百度云wordpress怎么搭建
  • 客户网站开发全流程做网站ps分辨率给多少钱
  • 免费拍卖网站模板做网站开发的女生多吗
  • 企业 网站 推广优惠券怎做网站
  • 站长工具app官方下载电子商务平台建设与运营技术
  • 龙岗公司网站建设个人备案可以做影视网站吗
  • 学做网站培训上海网络建站培训
  • 网上购物网站的设计与实现Wordpress企业主题排行
  • 外贸网站优化软件网站建设捌金手指下拉七
  • 网页设计师学习网站Wordpress图片热点
  • 租用了空间 怎样上传网站程序容城网站建设
  • 做网店有哪些拿货网站顺义手机网站设计
  • 网站开发 net一起来做网站17
  • wordpress企业站主题茶叶营销策划方案
  • 白银网站建设熊掌号网站模块规划
  • seo网站建设培训高端网站制作费用
  • html网站地图怎么做域名注册是什么意思
  • 网站备案是给什么进行备案湖南企业seo优化首选
  • 西安手机网站制作延吉网站建设公司
  • 模拟购物网站开发项目做网站现在好弄么
  • 陕西省建设监理协会网站主页中国制造网外贸平台中文版
  • 如何做公司网站制作go网站开发