You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2012/05/12 19:19:38 UTC
svn commit: r1337595 -
/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
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