use Kaha MapContainer for message storage instead of the Kaha ListContainer

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@503694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-02-05 14:15:36 +00:00
parent d9ca5c07fd
commit c4c9f0b983
2 changed files with 4 additions and 3 deletions

View File

@ -43,9 +43,10 @@ public interface Index{
* 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

View File

@ -49,8 +49,8 @@ public class VMIndex implements Index{
* @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);
}
/**