Package com.netflix.zuul.netty.server
Class DefaultEventLoopConfig
java.lang.Object
com.netflix.zuul.netty.server.DefaultEventLoopConfig
- All Implemented Interfaces:
EventLoopConfig
Event loop configuration for the Zuul server.
By default, it configures a single acceptor thread with workers = logical cores available.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultEventLoopConfig
public DefaultEventLoopConfig() -
DefaultEventLoopConfig
public DefaultEventLoopConfig(int eventLoopCount, int acceptorCount)
-
-
Method Details
-
eventLoopCount
public int eventLoopCount()- Specified by:
eventLoopCount
in interfaceEventLoopConfig
-
acceptorCount
public int acceptorCount()- Specified by:
acceptorCount
in interfaceEventLoopConfig
-