tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1337595 - /tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
Date Sat, 12 May 2012 17:19:38 GMT
Author: kkolinko
Date: Sat May 12 17:19:38 2012
New Revision: 1337595

URL: http://svn.apache.org/viewvc?rev=1337595&view=rev
Log:
Further clarify the value

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1337595&r1=1337594&r2=1337595&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java Sat May 12 17:19:38
2012
@@ -181,6 +181,11 @@ public abstract class AbstractEndpoint {
      * property is added here so that this value can be inspected through JMX.
      * It is visible on "ThreadPool" MBean.
      *
+     * <p>The count is incremented by the Acceptor before it tries to accept a
+     * new connection. Until the limit is reached and thus the count cannot be
+     * incremented,  this value is more by 1 (the count of acceptors) than the
+     * actual count of connections that are being served.
+     *
      * @return The count
      */
     public long getConnectionCount() {



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


Mime
View raw message