commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@mwm.lt>
Subject Re: [simplestore] methods in Store interface
Date Tue, 12 Feb 2002 17:08:02 GMT
Ok
----- Original Message -----
From: "Gerhard Froehlich" <g-froehlich@gmx.de>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Monday, February 11, 2002 6:13 PM
Subject: RE: [simplestore] methods in Store interface


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


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