Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46816
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 7 Mar 2009 16:54:46 +0000 (16:54 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 7 Mar 2009 16:54:46 +0000 (16:54 +0000)
Align mbean descriptor attributes with implementations

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@751295 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/mbeans-descriptors.xml

index 20fe96a..a4f049a 100644 (file)
                  type="java.lang.String"
             writeable="false"/>
 
-    <attribute   name="pathname"
-          description="Path name of the disk file in which active sessions"
-                 type="java.lang.String"/>
-
     <attribute   name="activeSessions"
           description="Number of active sessions at this moment"
                  type="int" 
           description="The maximum time a session may be idle before it should be swapped to file just on general principle"
                  type="int" />
 
+    <attribute   name="sessionMaxAliveTime"
+          description="Longest time an expired session had been alive"
+                 type="int" />
+
+    <attribute   name="sessionAverageAliveTime"
+          description="Average time an expired session had been alive"
+                 type="int" />
+
     <attribute   name="rejectedSessions"
           description="Number of sessions we rejected due to maxActive beeing reached"
                  type="int" />