幕imooc算法與數(shù)據(jù)結(jié)構(gòu)體系課
? this.cacheNativeServerLoops = new AtomicReference<>();
? ? ? ?// 因為默認沒有配置 所以selectCode必然是-1
? ? ? ?if (selectCount == -1) {
? ? ? ? ? ?this.selectCount = workerCount;
? ? ? ? ? ?// serverSelectLoops沒有創(chuàng)建,而是直接使用的serverLoops
? ? ? ? ? ?this.serverSelectLoops = this.serverLoops;
? ? ? ? ? ?this.cacheNativeSelectLoops = this.cacheNativeServerLoops;
? ? ? ?}
標簽:
幕imooc算法與數(shù)據(jù)結(jié)構(gòu)體系課的評論 (共 條)
