- Remove the spare threads attributes.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 Jul 2006 22:35:57 +0000 (22:35 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 Jul 2006 22:35:57 +0000 (22:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@420003 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/manager/StatusTransformer.java

index 2bdf5ba..1220adf 100644 (file)
@@ -246,10 +246,6 @@ public class StatusTransformer {
             writer.print("<p>");
             writer.print(" Max threads: ");
             writer.print(mBeanServer.getAttribute(tpName, "maxThreads"));
-            writer.print(" Min spare threads: ");
-            writer.print(mBeanServer.getAttribute(tpName, "minSpareThreads"));
-            writer.print(" Max spare threads: ");
-            writer.print(mBeanServer.getAttribute(tpName, "maxSpareThreads"));
             writer.print(" Current thread count: ");
             writer.print(mBeanServer.getAttribute(tpName, "currentThreadCount"));
             writer.print(" Current thread busy: ");
@@ -318,8 +314,6 @@ public class StatusTransformer {
 
             writer.write("<threadInfo ");
             writer.write(" maxThreads=\"" + mBeanServer.getAttribute(tpName, "maxThreads") + "\"");
-            writer.write(" minSpareThreads=\"" + mBeanServer.getAttribute(tpName, "minSpareThreads") + "\"");
-            writer.write(" maxSpareThreads=\"" + mBeanServer.getAttribute(tpName, "maxSpareThreads") + "\"");
             writer.write(" currentThreadCount=\"" + mBeanServer.getAttribute(tpName, "currentThreadCount") + "\"");
             writer.write(" currentThreadsBusy=\"" + mBeanServer.getAttribute(tpName, "currentThreadsBusy") + "\"");
             writer.write(" />");