Michael,

I took a look at the Javadoc for LinkedHashMap. Of particular interest was
the removeEldestEntry() method. I think this was exactly what I needed.

Thank you for your help.

The Sunburned Surveyor


On 4/13/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:

Thanks Michael. I'll take a quick look at some of the libraries you
mentioned.

I'll also have a look at the API documentation for LinkedHashMap.

The Sunburned Surveyor


On 4/13/07, Michaël Michaud <[EMAIL PROTECTED]> wrote:
>
>
> > Yes, I took a look at the Queue interface. It had the
> > First-In-First-Out behavior, but I didn't see a way to limit the
> > growth of the content, which I would need to do for my purposes. If we
> > decide to make the JUMP to a newer JDK version that supports generics
> > I might take a look at this.
>
> Seems that LinkedHashMap is the class which is best suited to build a
> cache. See documentation.
>
> >
> > Michael wrote: "I think there are also many open-source projects
> > related to Cache
> > management."
> >
> > Could you toss me a name or two? :] Remember that this question was
> > really about just the buffer, which is one part of the whole
> FeatureCache.
>
> Cache4J (if you want to learn russian), SimpleCache, ehCache (used by
> other projects, complete documentation), RCache, OSCache, JCS (from
> apache)...
> Sorry, it is just an internet query result, I have no personnal
> experience with those libraries.
>
> Michaël
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jump-pilot-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to