add linux x86_64, OS X classified artifacts for epoll, kqueue

This commit is contained in:
Jörg Prante 2019-12-23 12:13:11 +01:00
parent aff174ab22
commit b980dc9b9c
4 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,6 @@
group = org.xbib group = org.xbib
name = netty-http name = netty-http
version = 4.1.44.0 version = 4.1.44.1
# netty # netty
netty.version = 4.1.44.Final netty.version = 4.1.44.Final

View file

@ -1,4 +1,4 @@
dependencies { dependencies {
compile project(":netty-http-common") compile project(":netty-http-common")
compile "io.netty:netty-transport-native-epoll:${project.property('netty.version')}" compile "io.netty:netty-transport-native-epoll:${project.property('netty.version')}:linux-x86_64"
} }

View file

@ -1,4 +1,4 @@
dependencies { dependencies {
compile project(":netty-http-common") compile project(":netty-http-common")
compile "io.netty:netty-transport-native-kqueue:${project.property('netty.version')}" compile "io.netty:netty-transport-native-kqueue:${project.property('netty.version')}:osx-x86_64"
} }

View file

@ -336,6 +336,7 @@ public final class Server implements AutoCloseable {
if (eventLoopGroup == null) { if (eventLoopGroup == null) {
eventLoopGroup = new NioEventLoopGroup(serverConfig.getParentThreadCount(), new HttpServerParentThreadFactory()); eventLoopGroup = new NioEventLoopGroup(serverConfig.getParentThreadCount(), new HttpServerParentThreadFactory());
} }
logger.log(Level.INFO, "parent event loop group = " + eventLoopGroup);
return eventLoopGroup; return eventLoopGroup;
} }
@ -353,6 +354,7 @@ public final class Server implements AutoCloseable {
if (eventLoopGroup == null) { if (eventLoopGroup == null) {
eventLoopGroup = new NioEventLoopGroup(serverConfig.getChildThreadCount(), new HttpServerChildThreadFactory()); eventLoopGroup = new NioEventLoopGroup(serverConfig.getChildThreadCount(), new HttpServerChildThreadFactory());
} }
logger.log(Level.INFO, "child event loop group = " + eventLoopGroup);
return eventLoopGroup; return eventLoopGroup;
} }
@ -370,6 +372,7 @@ public final class Server implements AutoCloseable {
if (channelClass == null) { if (channelClass == null) {
channelClass = NioServerSocketChannel.class; channelClass = NioServerSocketChannel.class;
} }
logger.log(Level.INFO, "server socket channel class = " + channelClass);
return channelClass; return channelClass;
} }