[jboss-dev-forums] [Design of JBossCache] - CacheListener callbacks for block/unblock

bstansberry@jboss.com do-not-reply at jboss.com
Fri Jun 8 10:07:02 EDT 2007


More stuff that's too late for the 2.0 API...

This is morning shower thinking, so not very fleshed out.

What do people think about adding CacheListener callbacks related to block/unblock events?  Vladimir has done some stuff related to state transfer handling to prevent calls proceeding into the cache during block, wait for in progress txs to complete or roll them back if they take too long etc.  But it seems like the app would have a better idea of how to do that, with Vladimir's stuff a 2nd line of defense.  For example, if the http session repl layer knew the cache was blocking, it could prevent calls into the cache and would have a better idea of how to deal with any tx rollbacks.

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

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



More information about the jboss-dev-forums mailing list