avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon-phoenix/src/java/org/apache/avalon/phoenix/components/monitor DefaultDeploymentMonitor.java
Date Tue, 08 Apr 2003 09:48:48 GMT
donaldp     2003/04/08 02:48:48

  Modified:    src/conf kernel.xml
               src/java/org/apache/avalon/phoenix/components/monitor
                        DefaultDeploymentMonitor.java
  Log:
  Allow this block to have a configurable monitor frequency and comment it in the kernel.xml
  
  Revision  Changes    Path
  1.36      +5 -1      avalon-phoenix/src/conf/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/conf/kernel.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- kernel.xml	8 Apr 2003 09:45:20 -0000	1.35
  +++ kernel.xml	8 Apr 2003 09:48:48 -0000	1.36
  @@ -140,7 +140,11 @@
           -->
           <component
               class="org.apache.avalon.phoenix.components.monitor.DefaultDeploymentMonitor"
  -            logger="monitor"/>
  +            logger="monitor">
  +            <!-- the amount of time in milliseconds between checks
  +                 of deployment dir -->
  +            <monitor-frequency>1000</monitor-frequency>
  +        </component>
   
           <component role="org.apache.excalibur.instrument.InstrumentManager"
               class="org.apache.excalibur.instrument.manager.NoopInstrumentManager"
  
  
  
  1.5       +2 -2      avalon-phoenix/src/java/org/apache/avalon/phoenix/components/monitor/DefaultDeploymentMonitor.java
  
  Index: DefaultDeploymentMonitor.java
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/monitor/DefaultDeploymentMonitor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultDeploymentMonitor.java	8 Apr 2003 09:47:27 -0000	1.4
  +++ DefaultDeploymentMonitor.java	8 Apr 2003 09:48:48 -0000	1.5
  @@ -108,7 +108,7 @@
       public void configure( Configuration configuration )
           throws ConfigurationException
       {
  -        m_frequency = configuration.getChild("monitor-frequency").getValueAsLong( 1000L
);
  +        m_frequency = configuration.getChild( "monitor-frequency" ).getValueAsLong( 1000L
);
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message