Why not just use that to implement the CacheController interface? You could then just plug it in to iBATIS.
Larry >>> Vic Cekvenich <[EMAIL PROTECTED]> 11/20/04 10:34 AM >>> 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
