commons-dev mailing list archives

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

>>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
>or extend Map.
>But I believe it will not be a map, there are collections for maps in
>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,
>void remove(Object key)throws
>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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message