Yes, the developers guide.  iBATIS ships with four different cache
controllers - MEMORY, LRU, FIFO, OSCACHE.  If you want to do SwarmCache,
you'll have to write your own class that implements CacheController (and
maybe contribute it back to the community???).

Here are the basics:

Write some class that implements CacheController and interacts with
SwarmCache, then specify that class instead of OSCACHE in your
configuration files.  You can look at the source for OSCacheController
as an example.

OSCACHE is just an alias for
com.ibatis.sqlmap.engine.cache.oscache.OSCacheController.  You can plug
any class you want into the cacheModel "type" attribute - as long as it
implements CacheController.

Jeff Butler

>>> [EMAIL PROTECTED] 3/7/2005 2:52:28 PM >>>
Are you referring to the Developer's Guide? From what I gather, the
cache
model uses a pluggable framework for supporting different "types" of
caches
(e.g. LRU, Memory, FIFO, etc.), but it does not talk about integrating
with
other caching products besides OSCache.


Reply via email to