I was wondering what this
means in netty logs (the numbers). Is It something related to threads ?
Yes. The naming schema is
poolName + '-' + poolId.incrementAndGet() + '-' + nextId.incrementAndGet();
Where poolName
is the class, poolId
is a global counter, and nextId
is per pool.
So nioEventLoopGroup-2-2
and nioEventLoopGroup-2-3
are the 2nd and 3rd thread from the 2nd pool, and nioEventLoopGroup-5-2
is the 2nd thread from some other pool.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.