activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r963283 - /activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala
Date Mon, 12 Jul 2010 14:05:36 GMT
Author: chirino
Date: Mon Jul 12 14:05:35 2010
New Revision: 963283

URL: http://svn.apache.org/viewvc?rev=963283&view=rev
Log:
picking up recent api simplifications in the hawtdb project

Modified:
    activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala

Modified: activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala?rev=963283&r1=963282&r2=963283&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala
(original)
+++ activemq/sandbox/activemq-apollo-actor/apollo-hawtdb/src/main/scala/org/apache/activemq/apollo/store/hawtdb/HawtDBClient.scala
Mon Jul 12 14:05:35 2010
@@ -1056,11 +1056,7 @@ class HawtDBClient(hawtDBStore: HawtDBSt
 
     def queueTrackingIndex(root: QueueRootRecord.Getter) = QUEUE_TRACKING_INDEX_FACTORY.open(_tx,
root.getTrackingIndexPage)
 
-    def alloc(factory: IndexFactory[_, _]) = {
-      val rc = _tx.alloc
-      factory.create(_tx, rc)
-      rc
-    }
+    def alloc(factory: IndexFactory[_, _]) = factory.create(_tx).getIndexLocation
 
     val rootBean = rootBuffer.copy
 



Mime
View raw message