You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/01/15 20:12:36 UTC

[tomcat] 03/03: Deprecate pollerThreadCount

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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit c8c99bd2e57c4804b3bdb667d7b4e5f4ccb28640
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 15 19:44:54 2020 +0000

    Deprecate pollerThreadCount
---
 java/org/apache/coyote/http11/Http11NioProtocol.java | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/java/org/apache/coyote/http11/Http11NioProtocol.java b/java/org/apache/coyote/http11/Http11NioProtocol.java
index 92c278c..43327f3 100644
--- a/java/org/apache/coyote/http11/Http11NioProtocol.java
+++ b/java/org/apache/coyote/http11/Http11NioProtocol.java
@@ -50,10 +50,21 @@ public class Http11NioProtocol extends AbstractHttp11JsseProtocol<NioChannel> {
      * NO-OP.
      *
      * @param count Unused
+     *
+     * @deprecated This setter will be removed in Tomcat 10.
      */
+    @Deprecated
     public void setPollerThreadCount(int count) {
     }
 
+    /**
+     * Always returns 1.
+     *
+     * @return 1
+     *
+     * @deprecated This getter will be removed in Tomcat 10.
+     */
+    @Deprecated
     public int getPollerThreadCount() {
         return 1;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org