You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by Vic Cekvenich <vi...@friendVU.com> on 2004/11/20 18:34:46 UTC

ot?: Cache mentoring needed

I need to write a cache for Lucene like we have for SQL.

I looked arround and did not like any 3rd party caches! I do like the 
iBatis cache, but I too don't understand the need for getLock() when 
it's all syncronized.

I plan to base "my" on 
http://www.javaspecialists.co.za/archive/Issue098.html - SoftHashMap.
I Plan to make it concurent and be able to time out (via a thread that 
runs once a minute and enuerates the set- this way the slow System.*() 
calls are avoided) and be able to JMX the cache.
If somone is dying to help me, this is the time. Maybe it can be a part 
of iBatis, a diferent package so people can cache what ever they want.
To me, Lucene is just another thing I DAO.

.V