Re: [simplestore] methods in Store interface

2002-02-12 Thread Juozas Baliuka

Ok
- Original Message -
From: "Gerhard Froehlich" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




[simplestore] methods in Store interface

2002-02-10 Thread Gerhard Froehlich

Hi Juozas,
why did you removed the methods
  containsKey, 
  isEmpty
  size
  clear

Ok maybe they are not meaningful anymore but then they
shouldn't be implemented in the SoftRefMemoryStore!

Could you please explain me your thoughts here.

  ~Gerhard
 

I just found the last bug...
 



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