commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <gerhard_froehl...@at.ibm.com>
Subject RE: [simplestore] enhancements (was: [simplestore] inital check in)
Date Fri, 18 Jan 2002 14:27:31 GMT
Hi,

>>Yes kool, but we must speak the same speech here. You know. I'm afraid
>>that we have different sights of this component. I don't wanna waste time
>>in endless
>>basic issue discussions. My picture is clear, with yours I have
>>difficulties this days.
>I see Store interface is kind of map at this time.
>I think this interface is not useful, you can replace it with
java.util.Map
>or extend Map.
>But I believe it will not be a map, there are collections for maps in
commons.
>I think you need to remove some methods, and add Exceptions.
>we need
>Object retrieve(Object key)throws SeviceNotAvailableException,
>                                      NotFoundExeption; // I null result
>for it must not mean NotFound;
>
>void store(Object key,Object value)throws  SeviceNotAvailableException,
>DublicateKeyException;
>
>void remove(Object key)throws
SeviceNotAvailableException,NotFoundExeption;
>
>And may be "Store  getNextStore()" it has meaning, The store will be kind
>of unary tree,
>I have idea to balance this tree using optional tag interfaces, specific
>for stores like "LargeForMemoryStore"

+1 on changing the interface! The old one seems not to be very useful. Some
of the methods are not needed!
+1 For the Exceptions

I hope I will find some time on the weekend to do this stuff. But you can
grap something if you want!

a) implementing Testing classes
b) changing the interface

  Gerhard


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message