ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Zabel" <...@ezabel.com>
Subject Re: Hooking into cache flushes?
Date Thu, 16 Oct 2008 14:06:59 GMT
Kai,

You can implement a CacheEntryEventListener (from
com.opensymphony.oscache.base.events in OSCache), and register it as a
listener in your oscache.properties.

Here's the javadoc:
http://www.opensymphony.com/oscache/api/com/opensymphony/oscache/base/events/CacheEntryEventListener.html

Ian.

On Thu, Oct 16, 2008 at 7:46 AM, Kai Kousa <kai.kousa@jadecon.fi> wrote:
> Hi!
>
> Is it currently possible to hook into cache events like flushing, etc.? I
> would like to execute certain actions each time specific cache is flushed.
>
> Can this be done with the current API? Or should I try to develop my own
> component and then hack it to iBatis(if so, where to begin)?
>
> Thanks in advance for any thoughts, solutions or vague ideas.
>

Mime
View raw message