Loading kinetic-client/src/main/java/com/seagate/kinetic/client/io/provider/nio/ssl/SslNioTransportProvider.java +4 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ package com.seagate.kinetic.client.io.provider.nio.ssl; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioSocketChannel; import java.io.IOException; Loading @@ -30,6 +29,7 @@ import java.util.logging.Logger; import kinetic.client.ClientConfiguration; import kinetic.client.KineticException; import com.seagate.kinetic.client.io.provider.nio.tcp.NioWorkerGroup; import com.seagate.kinetic.client.io.provider.spi.ClientMessageService; import com.seagate.kinetic.client.io.provider.spi.ClientTransportProvider; import com.seagate.kinetic.common.lib.KineticMessage; Loading Loading @@ -75,7 +75,7 @@ public class SslNioTransportProvider implements ClientTransportProvider { this.host = this.config.getHost(); try { workerGroup = new NioEventLoopGroup(); workerGroup = NioWorkerGroup.getWorkerGroup(); sslChannelInitializer = new SslChannelInitializer(this.mservice); Loading Loading @@ -111,10 +111,8 @@ public class SslNioTransportProvider implements ClientTransportProvider { } // release resources workerGroup.shutdownGracefully(); workerGroup.terminationFuture().await( this.config.getThreadPoolAwaitTimeout()); // release resources NioWorkerGroup.close(); } catch (Exception e) { Loading Loading
kinetic-client/src/main/java/com/seagate/kinetic/client/io/provider/nio/ssl/SslNioTransportProvider.java +4 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ package com.seagate.kinetic.client.io.provider.nio.ssl; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioSocketChannel; import java.io.IOException; Loading @@ -30,6 +29,7 @@ import java.util.logging.Logger; import kinetic.client.ClientConfiguration; import kinetic.client.KineticException; import com.seagate.kinetic.client.io.provider.nio.tcp.NioWorkerGroup; import com.seagate.kinetic.client.io.provider.spi.ClientMessageService; import com.seagate.kinetic.client.io.provider.spi.ClientTransportProvider; import com.seagate.kinetic.common.lib.KineticMessage; Loading Loading @@ -75,7 +75,7 @@ public class SslNioTransportProvider implements ClientTransportProvider { this.host = this.config.getHost(); try { workerGroup = new NioEventLoopGroup(); workerGroup = NioWorkerGroup.getWorkerGroup(); sslChannelInitializer = new SslChannelInitializer(this.mservice); Loading Loading @@ -111,10 +111,8 @@ public class SslNioTransportProvider implements ClientTransportProvider { } // release resources workerGroup.shutdownGracefully(); workerGroup.terminationFuture().await( this.config.getThreadPoolAwaitTimeout()); // release resources NioWorkerGroup.close(); } catch (Exception e) { Loading