luehe       2004/05/10 17:04:09

  Modified:    catalina/src/share/org/apache/catalina Manager.java
  Log:
  javadocs correction: getMaxActive() actually returns max number of
  sessions that have been active at the same time, as opposed to
  (StandardManager.)getMaxActiveSessions(), which returns the limit (or -1)
  
  Revision  Changes    Path
  1.10      +8 -8      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Manager.java
  
  Index: Manager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Manager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Manager.java      21 Apr 2004 23:37:07 -0000      1.9
  +++ Manager.java      11 May 2004 00:04:09 -0000      1.10
  @@ -152,20 +152,20 @@
   
   
       /**
  -     * Gets the maximum number of sessions that may be active at the same time.
  +     * Gets the maximum number of sessions that have been active at the same
  +     * time.
        *
  -     * <p>If this number has been reached, any requests for creating new
  -     * sessions will be rejected.
  -     *
  -     * @return Maximum number of sessions that may be active at the same time
  +     * @return Maximum number of sessions that have been active at the same
  +     * time
        */
       public int getMaxActive();
   
   
       /**
  -     * Sets the maximum number of sessions that may be active at the same time.
  +     * (Re)sets the maximum number of sessions that have been active at the
  +     * same time.
        *
  -     * @param maxActive Maximum number of sessions that may be active at
  +     * @param maxActive Maximum number of sessions that have been active at
        * the same time.
        */
       public void setMaxActive(int maxActive);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to