activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r503694 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index: Index.java VMIndex.java
Date Mon, 05 Feb 2007 14:15:37 GMT
Author: rajdavies
Date: Mon Feb  5 06:15:36 2007
New Revision: 503694

URL: http://svn.apache.org/viewvc?view=rev&rev=503694
Log:
use Kaha MapContainer for message storage instead of the Kaha ListContainer

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/Index.java
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/VMIndex.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/Index.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/Index.java?view=diff&rev=503694&r1=503693&r2=503694
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/Index.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/Index.java
Mon Feb  5 06:15:36 2007
@@ -43,9 +43,10 @@
      * remove the index key
      * 
      * @param key
+     * @return StoreEntry removed
      * @throws IOException 
      */
-    public void remove(Object key) throws IOException;
+    public StoreEntry remove(Object key) throws IOException;
 
     /**
      * store the key, item

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/VMIndex.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/VMIndex.java?view=diff&rev=503694&r1=503693&r2=503694
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/VMIndex.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/VMIndex.java
Mon Feb  5 06:15:36 2007
@@ -49,8 +49,8 @@
      * @param key
      * @see org.apache.activemq.kaha.impl.index.Index#removeKey(java.lang.Object)
      */
-    public void remove(Object key){
-        map.remove(key);
+    public StoreEntry remove(Object key){
+       return  map.remove(key);
     }
 
     /**



Mime
View raw message