db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/performance PerfArticle.java PerfArticleImpl.java PerfMain.java
Date Mon, 14 Jun 2004 12:47:29 GMT
arminw      2004/06/14 05:47:29

  Modified:    src/test/org/apache/ojb/performance PerfArticle.java
                        PerfArticleImpl.java PerfMain.java
  Log:
  - change visibility of inner classes from 'public' to 'package'
  - javadoc changes
  
  Revision  Changes    Path
  1.7       +2 -2      db-ojb/src/test/org/apache/ojb/performance/PerfArticle.java
  
  Index: PerfArticle.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/performance/PerfArticle.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PerfArticle.java	5 Apr 2004 12:16:22 -0000	1.6
  +++ PerfArticle.java	14 Jun 2004 12:47:29 -0000	1.7
  @@ -18,7 +18,7 @@
   import java.io.Serializable;
   
   /**
  - * Persistent object interface.
  + * Persistent object interface - describes the persistent object used in performance test.
    *
    * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
    * @version $Id$
  
  
  
  1.6       +2 -2      db-ojb/src/test/org/apache/ojb/performance/PerfArticleImpl.java
  
  Index: PerfArticleImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/performance/PerfArticleImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PerfArticleImpl.java	5 Apr 2004 12:16:22 -0000	1.5
  +++ PerfArticleImpl.java	14 Jun 2004 12:47:29 -0000	1.6
  @@ -16,7 +16,7 @@
    */
   
   /**
  - * Persistent object implementation.
  + * Implementation of {@link PerfArticle} interface.
    *
    * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
    * @version $Id$
  
  
  
  1.9       +22 -6     db-ojb/src/test/org/apache/ojb/performance/PerfMain.java
  
  Index: PerfMain.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/performance/PerfMain.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- PerfMain.java	5 Apr 2004 12:16:22 -0000	1.8
  +++ PerfMain.java	14 Jun 2004 12:47:29 -0000	1.9
  @@ -32,6 +32,7 @@
    *
    * <p>
    * <b>You have two possibilities to run this test:</b>
  + * </p>
    * <p>
    * - use the build script and call
    * <br/>
  @@ -42,17 +43,32 @@
    * <br/>
    * <code>
    * java -classpath CLASSPATH org.apache.ojb.performance.PerfMain
  + * </code>
  + * <br/>
  + * <code>
    * [comma separated list of PerfTest implementation classes, no blanks!]
  + * </code>
  + * <br/>
  + * <code>
    * [number of test loops]
  + * </code>
  + * <br/>
  + * <code>
    * [number of threads]
  + * </code>
  + * <br/>
  + * <code>
    * [number of insert/fetch/delete loops per thread]
  - * [boolean - run in stress mode if set true, run in performance mode if set false, default
false]
    * </code>
    * <br/>
  + * <code>
  + * [boolean - run in stress mode if set true, run in performance mode if set false, default
false]
  + * </code>
  + * </p>
  + * <p>
    * For example:
  - * <br/>
  - * <code>java -classpath CLASSPATH my.MyPerfTest,myMyPerfTest2 3 10 2000 false</code>
    * </p>
  + * <code>java -classpath CLASSPATH my.MyPerfTest,myMyPerfTest2 3 10 2000 false</code>
    *
    * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
    * @version $Id$
  @@ -383,7 +399,7 @@
       //================================================================
       // inner class
       //================================================================
  -    public static class PerfResult
  +    static class PerfResult
       {
           private String testName;
           private long testPeriod;
  @@ -551,7 +567,7 @@
       //================================================================
       // inner class
       //================================================================
  -    public static class ConsistentEntry
  +    static class ConsistentEntry
       {
           private int objectsBefore;
           private int objectsAfter;
  
  
  

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


Mime
View raw message