commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <>
Subject RE: [simplestore] methods in Store interface
Date Mon, 11 Feb 2002 17:13:25 GMT

>> Ok maybe they are not meaningful anymore but then they
>> shouldn't be implemented in the SoftRefMemoryStore!
>Yes we will remove this from SoftRefMemoryStore, we dont need method remove,
>it not meaningful, it removes only maping , but we don't need to remove
>maping if object is reacheble and Store will remove maping itself then
>object is unreacheble.

That's true!

>at last we have Store interface (minimalistic Cache):
>public interface Store {
> Object get(Object key);
>// null value means no maping;(the same as "contains")
> void put(Object key,Object  object);
>//Object can be null , we can remove mapping if value is null.

Ok then I will remove the other not public methods from SoftRefMemoryStore


Beer is God's way of showing us he loves us 
and wants us to be happy...

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

View raw message