[jboss-cvs] CacheBenchFwk/src/org/cachebench/config ...
Manik Surtani
manik at jboss.org
Tue Mar 13 10:50:46 EDT 2007
User: msurtani
Date: 07/03/13 10:50:46
Modified: src/org/cachebench/config Report.java NVPair.java
TestCase.java TestConfig.java Configuration.java
Log:
wc
Revision Changes Path
1.2 +23 -20 CacheBenchFwk/src/org/cachebench/config/Report.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Report.java
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/src/org/cachebench/config/Report.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Report.java 20 Dec 2005 05:34:58 -0000 1.1
+++ Report.java 13 Mar 2007 14:50:46 -0000 1.2
@@ -10,14 +10,17 @@
{
return generator;
}
+
public void setGenerator(String generator)
{
this.generator = generator;
}
+
public String getOutputFile()
{
return outputFile;
}
+
public void setOutputFile(String outputFile)
{
this.outputFile = outputFile;
1.2 +23 -20 CacheBenchFwk/src/org/cachebench/config/NVPair.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NVPair.java
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/src/org/cachebench/config/NVPair.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NVPair.java 20 Dec 2005 05:34:58 -0000 1.1
+++ NVPair.java 13 Mar 2007 14:50:46 -0000 1.2
@@ -3,7 +3,7 @@
/**
* @author Manik Surtani (manik at surtani.org)
- * @version $Id: NVPair.java,v 1.1 2005/12/20 05:34:58 imran Exp $
+ * @version $Id: NVPair.java,v 1.2 2007/03/13 14:50:46 msurtani Exp $
*/
public class NVPair
{
@@ -14,14 +14,17 @@
{
return name;
}
+
public void setName(String name)
{
this.name = name;
}
+
public String getValue()
{
return value;
}
+
public void setValue(String value)
{
this.value = value;
1.2 +52 -47 CacheBenchFwk/src/org/cachebench/config/TestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TestCase.java
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/src/org/cachebench/config/TestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TestCase.java 20 Dec 2005 05:34:58 -0000 1.1
+++ TestCase.java 13 Mar 2007 14:50:46 -0000 1.2
@@ -18,14 +18,17 @@
{
return name;
}
+
public void setName(String name)
{
this.name = name;
}
+
public Properties getParams()
{
return params;
}
+
public void addParam(NVPair nvPair)
{
params.put(nvPair.getName(), nvPair.getValue());
@@ -38,13 +41,15 @@
{
return cacheWrapper;
}
+
/**
* @param cacheWrapper The cacheWrapper to set.
*/
- public void setCacheWrapper( String cacheWrapper )
+ public void setCacheWrapper(String cacheWrapper)
{
this.cacheWrapper = cacheWrapper;
}
+
public List getTests()
{
return this.tests;
@@ -52,6 +57,6 @@
public void addTest(TestConfig test)
{
- tests.add( test );
+ tests.add(test);
}
}
\ No newline at end of file
1.2 +52 -48 CacheBenchFwk/src/org/cachebench/config/TestConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TestConfig.java
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/src/org/cachebench/config/TestConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TestConfig.java 20 Dec 2005 05:34:58 -0000 1.1
+++ TestConfig.java 13 Mar 2007 14:50:46 -0000 1.2
@@ -1,7 +1,6 @@
package org.cachebench.config;
-
public class TestConfig
{
private String name;
@@ -16,13 +15,15 @@
{
return name;
}
+
/**
* @param name The name to set.
*/
- public void setName( String name )
+ public void setName(String name)
{
this.name = name;
}
+
/**
* @return Returns the testClass.
*/
@@ -30,13 +31,15 @@
{
return testClass;
}
+
/**
* @param testClass The testClass to set.
*/
- public void setTestClass( String testClass )
+ public void setTestClass(String testClass)
{
this.testClass = testClass;
}
+
/**
* @return Returns the weight.
*/
@@ -44,10 +47,11 @@
{
return weight;
}
+
/**
* @param weight The weight to set.
*/
- public void setWeight( float weight )
+ public void setWeight(float weight)
{
this.weight = weight;
}
1.2 +70 -65 CacheBenchFwk/src/org/cachebench/config/Configuration.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Configuration.java
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/src/org/cachebench/config/Configuration.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Configuration.java 20 Dec 2005 05:34:58 -0000 1.1
+++ Configuration.java 13 Mar 2007 14:50:46 -0000 1.2
@@ -4,11 +4,9 @@
import java.util.List;
-
-
/**
* @author Manik Surtani (manik at surtani.org)
- * @version $Id: Configuration.java,v 1.1 2005/12/20 05:34:58 imran Exp $
+ * @version $Id: Configuration.java,v 1.2 2007/03/13 14:50:46 msurtani Exp $
*/
public class Configuration
{
@@ -26,6 +24,7 @@
{
return sampleSize;
}
+
public void setSampleSize(int sampleSize)
{
this.sampleSize = sampleSize;
@@ -35,14 +34,17 @@
{
return gcBetweenTestsEnabled;
}
+
public void setGcBetweenTestsEnabled(boolean gcBetweenTestsEnabled)
{
this.gcBetweenTestsEnabled = gcBetweenTestsEnabled;
}
+
public int getSleepBetweenTests()
{
return sleepBetweenTests;
}
+
public void setSleepBetweenTests(int sleepBetweenTests)
{
this.sleepBetweenTests = sleepBetweenTests;
@@ -52,10 +54,12 @@
{
return emptyCacheBetweenTests;
}
+
public void setEmptyCacheBetweenTests(boolean emptyCacheBetweenTests)
{
this.emptyCacheBetweenTests = emptyCacheBetweenTests;
}
+
public Report[] getReports()
{
return (Report[]) reports.toArray(new Report[0]);
@@ -68,10 +72,11 @@
public void addTestCase(TestCase testCase)
{
- testCases.add( testCase );
+ testCases.add(testCase);
}
+
public void addReport(Report report)
{
- reports.add( report );
+ reports.add(report);
}
}
More information about the jboss-cvs-commits
mailing list