You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2021/11/22 17:30:19 UTC

[ignite-3] 01/02: wip NettyBootstrapFactory

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-15307
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit b187ba1961002b63425e414dadc89ff89396b777
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Mon Nov 22 19:02:41 2021 +0300

    wip NettyBootstrapFactory
---
 .../java/org/apache/ignite/network/NettyBootstrapFactory.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/network/src/main/java/org/apache/ignite/network/NettyBootstrapFactory.java b/modules/network/src/main/java/org/apache/ignite/network/NettyBootstrapFactory.java
index 4a71733..2c2b852 100644
--- a/modules/network/src/main/java/org/apache/ignite/network/NettyBootstrapFactory.java
+++ b/modules/network/src/main/java/org/apache/ignite/network/NettyBootstrapFactory.java
@@ -33,7 +33,7 @@ import org.apache.ignite.internal.network.netty.NamedNioEventLoopGroup;
  */
 public class NettyBootstrapFactory {
     /** Network configuration. */
-    private NetworkView networkConfiguration;
+    private final NetworkView networkConfiguration;
     
     /** Server boss socket channel handler event loop group. */
     private final EventLoopGroup bossGroup;
@@ -59,9 +59,9 @@ public class NettyBootstrapFactory {
         
         this.networkConfiguration = networkConfiguration;
         
-        this.bossGroup = NamedNioEventLoopGroup.create(consistentId + "-srv-accept");
-        this.workerGroup = NamedNioEventLoopGroup.create(consistentId + "-srv-worker");
-        this.clientWorkerGroup = NamedNioEventLoopGroup.create(consistentId + "-client");
+        bossGroup = NamedNioEventLoopGroup.create(consistentId + "-srv-accept");
+        workerGroup = NamedNioEventLoopGroup.create(consistentId + "-srv-worker");
+        clientWorkerGroup = NamedNioEventLoopGroup.create(consistentId + "-client");
     }
     
     /**