Re: [Collections] subclassing LRUMap

2002-02-14 Thread Michael A. Smith
On Thu, 14 Feb 2002, Morgan Delagrange wrote: > > I don't know if you saw these other messages talking about LRUMap > > (there's more, I just selected a couple): > > > > http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg02555.html > > http://www.mail-archive.com/commons-dev@jakarta.apa

Re: [Collections] subclassing LRUMap

2002-02-14 Thread Morgan Delagrange
- Original Message - From: "Michael A. Smith" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>; "Morgan Delagrange" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 3:49 PM Subject: Re: [Collections] su

Re: [Collections] subclassing LRUMap

2002-02-14 Thread Michael A. Smith
On Thu, 14 Feb 2002, Morgan Delagrange wrote: > I just made a backward-compatible change to LRUMap to facilitate > subclassing. Now, you can override removeLRU() if you want to manipulate > (e.g. persist to disk) an Object before it is automatically removed from the > Map. You can also subclass

Re: [Collections] subclassing LRUMap

2002-02-14 Thread Morgan Delagrange
rsday, February 14, 2002 3:26 PM Subject: RE: [Collections] subclassing LRUMap > You need a special removal for overflow since you don't want to spoll normal > removals to disk. The LRU implementation in stratum allows you to do this. > > > -Original Message- > > F

RE: [Collections] subclassing LRUMap

2002-02-14 Thread Aaron Smuts
You need a special removal for overflow since you don't want to spoll normal removals to disk. The LRU implementation in stratum allows you to do this. > -Original Message- > From: Morgan Delagrange [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 4:13 PM > To: Jakarta Comm