jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teofilis Martisius <...@mediaworks.lt>
Subject Cache notification
Date Thu, 13 Oct 2005 17:27:50 GMT

Hello,

I have a distributed lateral cache running on ~4 computers.

I want to register an event listener that gets called every time there is a
cache update/remove/removeAll event.

I would prefer to get notified only if the event was initiated in some other
node in the cluster, not locally. But any kind of notification would be nice.

Is it possible to do that, and what is the 'right' way to do it with JCS?

I found ICacheListener in javadoc, but I found no way to register it anywhere.
And it would probably be called no matter if local node or other nodes
initiated an event.

(I want to do extra cleanup elsewhere in my system when an element gets removed
from cache, that's why i need to receive the events)

Is there a way to implement this in JCS?

P.S. please add me to CC, I'm not subscribed to the mailing list. I sent
subscribe email, but I didn't receive any reply (or maybe it got lost/eaten by
spam filter, i'll try that again).

Teofilis

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message