tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1847636 - /tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
Date Wed, 28 Nov 2018 13:06:10 GMT
Author: remm
Date: Wed Nov 28 13:06:09 2018
New Revision: 1847636

URL: http://svn.apache.org/viewvc?rev=1847636&view=rev
Log:
Fix javadoc

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardServer.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardServer.java?rev=1847636&r1=1847635&r2=1847636&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardServer.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardServer.java Wed Nov 28 13:06:09 2018
@@ -211,7 +211,7 @@ public final class StandardServer extend
 
 
     /**
-     * The event period.
+     * The lifecycle event period.
      */
     protected int eventPeriod = 10;
 
@@ -481,7 +481,7 @@ public final class StandardServer extend
 
 
     /**
-     * @return The period between two events, in seconds
+     * @return The period between two lifecycle events, in seconds
      */
     public int getEventPeriod() {
         return eventPeriod;
@@ -489,8 +489,9 @@ public final class StandardServer extend
 
 
     /**
-     * Set the new period between two events.
-     * @param eventPeriod The period in seconds, <= 0 disables events
+     * Set the new period between two lifecycle events.
+     * @param eventPeriod The period in seconds, negative or zero will
+     *  disable events
      */
     public final void setEventPeriod(int eventPeriod) {
         this.eventPeriod = eventPeriod;



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


Mime
View raw message