avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-cornerstone/threads/service/src/java/org/apache/avalon/cornerstone/services/threads ThreadManager.java package.html
Date Tue, 06 May 2003 22:39:34 GMT
mcconnell    2003/05/06 15:39:33

  Added:       threads/impl/conf block.xml
               threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads
                        DefaultThreadManager-schema.xml
                        DefaultThreadManager.java
                        DefaultThreadManager.xinfo package.html
  Removed:     threads/block .cvsignore maven.xml project.xml
               threads/block/src/java/org/apache/avalon/cornerstone/blocks/threads
                        DefaultThreadManager-schema.xml
                        DefaultThreadManager.java
                        DefaultThreadManager.xinfo package.html
               threads/service .cvsignore maven.xml project.properties
                        project.xml
               threads/service/src/java/org/apache/avalon/cornerstone/services/threads
                        ThreadManager.java package.html
  Log:
  Move back to impl/api model based on feedback from the dev list together with some enhancements
to the management of configurations.
  
  Revision  Changes    Path
  1.1                  avalon-cornerstone/threads/impl/conf/block.xml
  
  Index: block.xml
  ===================================================================
  
  <!--
  Thread Block deployment directive.
  -->
  
  <block>
  
     <info>
       <name>threads</name>
     </info>
  
     <services>
       <service type="org.apache.avalon.cornerstone.services.threads.ThreadManager">
         <source>manager</source>
       </service>
     </services>
  
     <implementation>
  
       <categories priority="INFO"/>
  
       <engine>
         <classpath>
           <repository>
             <resource id="excalibur:excalibur-thread" version="1.1.1"/>
             <resource id="excalibur:excalibur-event" version="2.0"/>
             <resource id="cornerstone:cornerstone-threads-api" version="1.0"/>
           </repository>
         </classpath>
       </engine>
  
       <component name="manager" 
          class="org.apache.avalon.cornerstone.blocks.threads.DefaultThreadManager" 
          activation="true">
         <configuration>
           <thread-group>
             <name>default</name>
             <priority>5</priority> 
             <is-daemon>false</is-daemon>
             <max-threads>100</max-threads>
             <min-threads>20</min-threads>
             <min-spare-threads>20</min-spare-threads>
           </thread-group>
         </configuration>
       </component>
  
     </implementation>
  
  </block>
  
  
  
  1.3       +0 -0      avalon-cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager-schema.xml
  
  
  
  
  1.3       +1 -1      avalon-cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.java
  
  
  
  
  1.3       +0 -0      avalon-cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.xinfo
  
  
  
  
  1.3       +0 -0      avalon-cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/package.html
  
  
  
  

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


Mime
View raw message