[jboss-dev-forums] [Design of JBossCache] - Re: CacheListener events for state transfer marshalling

bstansberry@jboss.com do-not-reply at jboss.com
Sun Feb 4 08:47:49 EST 2007


No, I don't think I want this for 1.4.1.SP1.  I think I can use something like this:

1) Call prePassivate before caching any context.
2) Call postActivate after getting any context (to hand out to a request).

That means the context will be in the passivated state when state transfer occurs.  

Whether in 2.0 having an event anyway makes sense, I still think it does, as it's a pretty major operation to happen to a node (bigger IMHO than a visit) and we emit callbacks for everything.  But I don't feel at all strongly about it.  How about this -- if you (or anyone) think it's really bad, veto it and we're done. :-) If you don't think it's that bad an idea, I'll open an unassigned JIRA for Beta2. If someone (aka Brian) gets it done, fine. If not, we WON'T_FIX the JIRA. Feature prioritization. :)


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

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



More information about the jboss-dev-forums mailing list