You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2003/12/07 18:01:30 UTC

cvs commit: jakarta-commons-sandbox/threadpool/xdocs downloads.xml navigation.xml index.xml

dirkv       2003/12/07 09:01:30

  Modified:    threadpool/xdocs index.xml
  Added:       threadpool/xdocs downloads.xml navigation.xml
  Log:
  add navigation & download
  update overview
  
  Revision  Changes    Path
  1.2       +22 -10    jakarta-commons-sandbox/threadpool/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/threadpool/xdocs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	10 Oct 2002 20:05:20 -0000	1.1
  +++ index.xml	7 Dec 2003 17:01:30 -0000	1.2
  @@ -2,14 +2,14 @@
   
   <document>
   
  -  <properties>
  -    <title>Commons ThreadPool</title>
  -    <author email="jstrachan@apache.org">James Strachan</author>
  -  </properties>
  + <properties>
  +  <title>Overview</title>
  +  <author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
  + </properties>
   
  -  <body>
  + <body>
   
  -    <section name="What is Commons ThreadPool?">
  +<section name="The ThreadPool Component">
         <p>
           Commons ThreadPool is a component for working with pools of threads and asynchronously executing
           tasks.
  @@ -25,7 +25,19 @@
           This can be particularly useful for performing asynchronous processing in
           Servlet engines or Swing applications.
         </p>
  -    </section>
  +</section>
  +
  +<section name="Releases">
  +    <p>
  +       See the <a href="downloads.html">downloads</a> page for information on obtaining releases.
  +    </p>
  +</section>
  +
  +<section name="Documentation">
  +  <p>
  +     The <a href="apidocs/index.html">JavaDoc API documents</a> are available online.
  +  </p>
  +</section>
   
       <section name="How to use a ThreadPool">
   
  @@ -34,7 +46,7 @@
           on a ThreadPool via the invokeLater() method.
         </p>
   
  -<pre>
  +<source>
     // lets start with 5 threads
     ThreadPool threadPool = new DefaultThreadPool(5);    	
   	
  @@ -50,7 +62,7 @@
         }
       }		
     );	
  -</pre>
  +</source>
   				 
         <p>
           Note that inside the run() method of your Runnable object you must handle Exceptions properly.
  @@ -58,5 +70,5 @@
         </p>
       </section>
   
  -  </body>
  +</body>
   </document>
  
  
  
  1.1                  jakarta-commons-sandbox/threadpool/xdocs/downloads.xml
  
  Index: downloads.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
     <properties>
        <title>Downloads</title>
        <author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
        <revision>$Id: downloads.xml,v 1.1 2003/12/07 17:01:30 dirkv Exp $</revision>
     </properties>
  
     <body>
        <section name="Releases">
           <p>There are no releases available.</p>
  
  <!--
           <p>The following releases are available:</p>
           <ul>
             <li>Version 1.1 - 20 October 2003</li>
             <li>Version 1.0 - 12 August 2002</li>
           </ul>
           <br/>
           <p>
              The latest binary release is always available on the 
              <a href="http://jakarta.apache.org/site/binindex.cgi#commons-threadpool">
              Jakarta Binary Downloads page</a>,
              its source is available from 
              <a href="http://jakarta.apache.org/site/sourceindex.cgi#commons-threadpool">
              Jakarta Source Downloads page</a>.
           </p>
           <p>
              Older releases are retained by the Apache Software Foundation but are 
              moved into a
              <a href="http://archive.apache.org/dist/jakarta/commons/threadpool/">
              special archive area</a>.
           </p>
           <p>
             <a href="http://cvs.apache.org/builds/jakarta-commons/nightly/commons-threadpool/">
             Nightly source and binary drops</a> are also available.
           </p>
  -->
           <p>
              Access to the source tree to see the latest and greatest code is possible
              through <a href="cvs-usage.html">anonymous CVS access</a>.
           </p>
        </section>
  
  <!--
        <section name="Release Candidate">
           <p>
              Release candidates for the upcoming 1.1 release can be downloaded 
              <a href="http://cvs.apache.org/~dirkv/builds/">here</a>.
           </p>
           <p>
              Please review and report any problem on the 
              <a href="mail-lists.html">mailing list</a>.
           </p>
           <p>
              Final release target is 20 October 2003. 
           </p>
        </section>
  -->
     </body>
  </document>
  
  
  
  1.1                  jakarta-commons-sandbox/threadpool/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE org.apache.commons.menus SYSTEM '../../../jakarta-commons/xdocs/stylesheets/menus/org-apache-commons-menus.dtd'>
  <project name="Commons Threadpool">
      <title>Commons Threadpool</title>
      <body>
          &top-menus;
          <menu name="Commons&#xA0;Threadpool">
              <item name="Overview"                      href="/index.html" />
  <!--            <item name="Configuration"                 href="/configuration.html" /> -->
              <item name="API&#xA0;Documentation"        href="/apidocs/index.html"/>
  <!--
              <item name="Developers&#xA0;Guide"         href="/guide/index.html" collapse="true">
                  <item name="Class&#xA0;Diagrams"       href="/guide/classdiagrams.html"/>
                  <item name="Sequence&#xA0;Diagrams"    href="/guide/sequencediagrams.html"/>
              </item>
  -->
              <item name="Downloads"                     href="/downloads.html"/>
          </menu>
          &bottom-menus;
      </body>
  </project>
  
  
  

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