tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads Reaper.java
Date Wed, 18 Dec 2002 22:52:13 GMT
costin      2002/12/18 14:52:13

  Modified:    util/java/org/apache/tomcat/util/threads Reaper.java
  Log:
  Add getter.
  
  Revision  Changes    Path
  1.3       +7 -1      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/Reaper.java
  
  Index: Reaper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/Reaper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Reaper.java	22 Apr 2002 18:55:56 -0000	1.2
  +++ Reaper.java	18 Dec 2002 22:52:13 -0000	1.3
  @@ -98,10 +98,16 @@
       Object lock=new Object();
       static boolean running=true;
   
  +    // XXX Should be called 'interval' not defaultInterval
  +
       public void setDefaultInterval( long t ) {
   	interval=t;
       }
  -    
  +
  +    public long getDefaultIntervale() {
  +        return interval;
  +    }
  +
       public int addCallback( ThreadPoolRunnable c, int interval ) {
   	synchronized( lock ) {
   	    cbacks[count]=c;
  
  
  

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


Mime
View raw message