shenyu-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y..@apache.org
Subject [incubator-shenyu] branch master updated: [ISSUE #1866] Delete @Getter from <shenyu-bootstrap>. (#1868)
Date Thu, 05 Aug 2021 02:56:55 GMT
This is an automated email from the ASF dual-hosted git repository.

yui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 1754b8a  [ISSUE #1866] Delete @Getter from <shenyu-bootstrap>. (#1868)
1754b8a is described below

commit 1754b8a16d4c6bdd0a8bb9e79cce589b7bc302ba
Author: JavaChain <280385556@qq.com>
AuthorDate: Thu Aug 5 10:56:51 2021 +0800

    [ISSUE #1866] Delete @Getter from <shenyu-bootstrap>. (#1868)
    
    * <Task> (<shenyu-bootstrap>) : [ISSUE #1866] Delete @Getter .
    
    * <refactor> (<shenyu-bootstrap>) : [ISSUE #1866] Delete @Getter.
---
 .../bootstrap/configuration/NettyTcpConfig.java    | 95 +++++++++++++++++++++-
 1 file changed, 93 insertions(+), 2 deletions(-)

diff --git a/shenyu-bootstrap/src/main/java/org/apache/shenyu/bootstrap/configuration/NettyTcpConfig.java
b/shenyu-bootstrap/src/main/java/org/apache/shenyu/bootstrap/configuration/NettyTcpConfig.java
index 5157989..c54842e 100644
--- a/shenyu-bootstrap/src/main/java/org/apache/shenyu/bootstrap/configuration/NettyTcpConfig.java
+++ b/shenyu-bootstrap/src/main/java/org/apache/shenyu/bootstrap/configuration/NettyTcpConfig.java
@@ -17,10 +17,11 @@
 
 package org.apache.shenyu.bootstrap.configuration;
 
-import lombok.Getter;
 import org.springframework.beans.factory.annotation.Value;
 
-@Getter
+/**
+ * The netty tcp config.
+ */
 public class NettyTcpConfig {
 
     @Value("${netty.tcp.select.count:1}")
@@ -52,4 +53,94 @@ public class NettyTcpConfig {
 
     @Value("${netty.tcp.tcp_nodelay:true}")
     private boolean tcpNodelay;
+
+    /**
+     * get select count.
+     *
+     * @return selectCount
+     */
+    public int getSelectCount() {
+        return selectCount;
+    }
+
+    /**
+     * get workerCount.
+     *
+     * @return workerCount
+     */
+    public int getWorkerCount() {
+        return workerCount;
+    }
+
+    /**
+     * get connectTimeoutMillis.
+     *
+     * @return connectTimeoutMillis
+     */
+    public int getConnectTimeoutMillis() {
+        return connectTimeoutMillis;
+    }
+
+    /**
+     * get writeBufferHighWaterMark.
+     *
+     * @return writeBufferHighWaterMark
+     */
+    public int getWriteBufferHighWaterMark() {
+        return writeBufferHighWaterMark;
+    }
+
+    /**
+     * get writeBufferLowWaterMark.
+     *
+     * @return writeBufferLowWaterMark
+     */
+    public int getWriteBufferLowWaterMark() {
+        return writeBufferLowWaterMark;
+    }
+
+    /**
+     * get soKeepalive.
+     *
+     * @return soKeepalive
+     */
+    public boolean isSoKeepalive() {
+        return soKeepalive;
+    }
+
+    /**
+     * get isSoReuseaddr.
+     *
+     * @return soReuseaddr
+     */
+    public boolean isSoReuseaddr() {
+        return soReuseaddr;
+    }
+
+    /**
+     * get soLinger.
+     *
+     * @return soLinger
+     */
+    public int getSoLinger() {
+        return soLinger;
+    }
+
+    /**
+     * get soBacklog.
+     *
+     * @return soBacklog
+     */
+    public int getSoBacklog() {
+        return soBacklog;
+    }
+
+    /**
+     * get tcpNodelay.
+     *
+     * @return tcpNodelay
+     */
+    public boolean isTcpNodelay() {
+        return tcpNodelay;
+    }
 }

Mime
View raw message