incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r756224 - in /incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader: EventImages.java PersonImages.java
Date Thu, 19 Mar 2009 21:40:50 GMT
Author: shanti
Date: Thu Mar 19 21:40:50 2009
New Revision: 756224

URL: http://svn.apache.org/viewvc?rev=756224&view=rev
Log:
Fix for OLIO-60. These files got left out of last commit

Added:
    incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/EventImages.java
    incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/PersonImages.java

Added: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/EventImages.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/EventImages.java?rev=756224&view=auto
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/EventImages.java
(added)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/EventImages.java
Thu Mar 19 21:40:50 2009
@@ -0,0 +1,9 @@
+package org.apache.olio.workload.loader;
+public class EventImages extends Images {
+
+    public void prepare() {
+     imageId = getSequence();
+     ++imageId;
+     prefix = "e";
+    }
+}

Added: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/PersonImages.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/PersonImages.java?rev=756224&view=auto
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/PersonImages.java
(added)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/PersonImages.java
Thu Mar 19 21:40:50 2009
@@ -0,0 +1,13 @@
+package org.apache.olio.workload.loader;
+import org.apache.olio.workload.util.ScaleFactors;
+import org.apache.olio.workload.loader.framework.*;
+
+public class PersonImages extends Images {
+
+    public void prepare() {
+     int i = getSequence();
+     ++i;
+     imageId = ScaleFactors.events + i;
+     prefix = "p";
+    }
+}



Mime
View raw message