Reputation: 155
I was wondering what this
means in netty logs (the numbers). Is It something related to threads ?
Upvotes: 2
Views: 531
Reputation: 63955
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.
Upvotes: 1