[jboss-user] [JBossCache] - Re: Monitoring puts and evictions

kagey do-not-reply at jboss.com
Thu Nov 23 16:16:04 EST 2006


just to help out anyone who has the same problem. I found additional listener methods in abstracttreecachelistener, that have the "pre" parameter. so i can listen for adds and evictions using the following listener methods:

for new inserts:
nodeModify(Fqn fqn, boolean pre, boolean isLocal) 
where pre is false

for evictions:
nodeEvict(Fqn fqn, boolean pre) 
where pre is true

cheers

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988275#3988275

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988275



More information about the jboss-user mailing list