commons-dev mailing list archives

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

>> 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
too!

  ~Gerhard

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

--
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