Padraic R
Posts: 24
Nickname: prenagha
Registered: Sep, 2002
Padraic is a Java system architect
Object Cache
Posted: Jun 7, 2003 11:09 AM
This post originated from an RSS feed registered with Java Buzz
by Padraic R.
Original Post: Object Cache
Feed Title: plog
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: Padraic Renaghan's musings about (mostly) java software development
Latest Java Buzz Posts
Latest Java Buzz Posts by Padraic R
Latest Posts From plog
Advertisement
On the hunt for a simple java object cache. I want to cache zip code lookups. Some kind of hash map that has it sized capped, and can swap out least recently used items when the cache is full would be all I need. No luck yet... Google time.
Update: I think this class, LRUMap , from the Jakarta Commons Collections project should do the trick.
Update: JCS seems to be the most full featured open-source cache solution out there. Probably overkill for what I need. I'll stick with LRUMap for now.
Read: Object Cache