manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1208149 - in /incubator/lcf/branches/CONNECTORS-286/warthog/src: main/java/org/apache/warthog/tablestore/ test/java/org/apache/warthog/tests/
Date Tue, 29 Nov 2011 23:47:58 GMT
Author: kwright
Date: Tue Nov 29 23:47:56 2011
New Revision: 1208149

URL: http://svn.apache.org/viewvc?rev=1208149&view=rev
Log:
Experiment further on whether keeping the calculated hash value around helps.  It doesn't.

Modified:
    incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java
    incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java
    incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java
    incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java

Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java
(original)
+++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java
Tue Nov 29 23:47:56 2011
@@ -37,7 +37,7 @@ public class IndexNodeKey implements WHK
     this.indexID = indexID;
     this.rowID = rowID;
     this.columnName = columnName;
-    hashCodeValue = calculateHashCode(indexID,rowID,columnName);
+    //hashCodeValue = calculateHashCode(indexID,rowID,columnName);
   }
     
   public IndexNodeKey(byte[] data)
@@ -46,7 +46,7 @@ public class IndexNodeKey implements WHK
     this.indexID = LongKey.readObject(bp);
     this.rowID = LongKey.readObject(bp);
     this.columnName = StringKey.readObject(bp);
-    hashCodeValue = calculateHashCode(indexID,rowID,columnName);
+    //hashCodeValue = calculateHashCode(indexID,rowID,columnName);
   }
 
   public byte[] serializeObject()

Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java
(original)
+++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java
Tue Nov 29 23:47:56 2011
@@ -36,7 +36,7 @@ public class TableColumnKey implements W
     this.tableID = tableID;
     this.rowID = rowID;
     this.columnName = columnName;
-    hashCodeValue = calculateHashCode(tableID,rowID,columnName);
+    //hashCodeValue = calculateHashCode(tableID,rowID,columnName);
   }
     
   public TableColumnKey(byte[] data)
@@ -45,7 +45,7 @@ public class TableColumnKey implements W
     this.tableID = LongKey.readObject(bp);
     this.rowID = LongKey.readObject(bp);
     this.columnName = StringKey.readObject(bp);
-    hashCodeValue = calculateHashCode(tableID,rowID,columnName);
+    //hashCodeValue = calculateHashCode(tableID,rowID,columnName);
   }
 
   public byte[] serializeObject()

Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java
(original)
+++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java
Tue Nov 29 23:47:56 2011
@@ -35,7 +35,7 @@ public class TableRowKey implements WHKe
   {
     this.tableID = tableID;
     this.rowID = rowID;
-    hashCodeValue = calculateHashCode(tableID,rowID);
+    //hashCodeValue = calculateHashCode(tableID,rowID);
   }
     
   public TableRowKey(byte[] data)
@@ -43,7 +43,7 @@ public class TableRowKey implements WHKe
     BufferPointer bp = new BufferPointer(data);
     this.tableID = LongKey.readObject(bp);
     this.rowID = LongKey.readObject(bp);
-    hashCodeValue = calculateHashCode(tableID,rowID);
+    //hashCodeValue = calculateHashCode(tableID,rowID);
   }
 
   public byte[] serializeObject()

Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java?rev=1208149&r1=1208148&r2=1208149&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
(original)
+++ incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
Tue Nov 29 23:47:56 2011
@@ -215,7 +215,7 @@ public class MultiThreadTest
     {
       try
       {
-        WHTableStore ts = new TableStore(new InMemTransactionalStoreImpl(store));
+        WHTableStore ts = new TableStore(new InMemNativeTransactionalStoreImpl(store));
         performInserts(ts);
       }
       catch (Throwable e)
@@ -300,7 +300,7 @@ public class MultiThreadTest
     {
       try
       {
-        WHTableStore ts = new TableStore(new InMemTransactionalStoreImpl(store));
+        WHTableStore ts = new TableStore(new InMemNativeTransactionalStoreImpl(store));
         performTask(ts);
       }
       catch (Throwable e)



Mime
View raw message