List of usage examples for io.netty.util.concurrent MultithreadEventExecutorGroup executorCount
public final int executorCount()
From source file:io.gatling.http.client.impl.AffinityEventLoopPicker.java
License:Apache License
AffinityEventLoopPicker(MultithreadEventExecutorGroup eventLoopGroup) { eventLoops = new EventLoop[eventLoopGroup.executorCount()]; int i = 0;/*from w w w . j a v a 2s. c o m*/ for (EventExecutor loop : eventLoopGroup) { eventLoops[i++] = (EventLoop) loop; } }