tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common ChannelSocket.java
Date Thu, 31 Oct 2002 00:54:58 GMT
costin      2002/10/30 16:54:58

  Modified:    jk/java/org/apache/jk/common ChannelSocket.java
  Log:
  Added maxThreads property.
  
  I think we should add more support for JMX on threads and the thread
  pool - and then possibly do the conf on the TP
  
  Revision  Changes    Path
  1.25      +14 -0     jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java
  
  Index: ChannelSocket.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- ChannelSocket.java	30 Oct 2002 22:21:05 -0000	1.24
  +++ ChannelSocket.java	31 Oct 2002 00:54:57 -0000	1.25
  @@ -242,6 +242,20 @@
       public boolean getDaemon() {
           return tp.getDaemon();
       }
  +
  +
  +    public void setMaxThreads( int i ) {
  +        if( log.isDebugEnabled()) log.debug("Setting maxThreads " + i);
  +        tp.setMaxThreads(i);
  +    }
  +    
  +    public int getMaxThreads() {
  +        return tp.getMaxThreads();   
  +    }
  +    
  +    public void setBacklog(int i) {
  +    }
  +    
       
       /* ==================== ==================== */
       ServerSocket sSocket;
  
  
  

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


Mime
View raw message