Author: markt
Date: Sun Nov 23 23:18:48 2014
New Revision: 1641296

URL: http://svn.apache.org/r1641296
Log:
NIO2 does not use a Poller

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java
    tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java?rev=1641296&r1=1641295&r2=1641296&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java Sun Nov 
23 23:18:48 2014
@@ -73,18 +73,10 @@ public class Http11Nio2Protocol extends 
         
((Nio2Endpoint)getEndpoint()).setAcceptorThreadPriority(threadPriority);
     }
 
-    public void setPollerThreadPriority(int threadPriority) {
-        ((Nio2Endpoint)getEndpoint()).setPollerThreadPriority(threadPriority);
-    }
-
     public int getAcceptorThreadPriority() {
       return ((Nio2Endpoint)getEndpoint()).getAcceptorThreadPriority();
     }
 
-    public int getPollerThreadPriority() {
-      return ((Nio2Endpoint)getEndpoint()).getThreadPriority();
-    }
-
     public boolean getUseSendfile() {
         return getEndpoint().getUseSendfile();
     }

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1641296&r1=1641295&r2=1641296&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Sun Nov 23 
23:18:48 2014
@@ -136,14 +136,6 @@ public class Nio2Endpoint extends Abstra
 
 
     /**
-     * Priority of the poller threads.
-     */
-    private int pollerThreadPriority = Thread.NORM_PRIORITY;
-    public void setPollerThreadPriority(int pollerThreadPriority) { 
this.pollerThreadPriority = pollerThreadPriority; }
-    public int getPollerThreadPriority() { return pollerThreadPriority; }
-
-
-    /**
      * Handling of accepted sockets.
      */
     private Handler handler = null;



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

Reply via email to