[jboss-dev-forums] [Design of JBossCache] - Re: Eviction redesign

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Aug 8 13:29:13 EDT 2008


"bstansberry at jboss.com" wrote : Hmm -- if I do this
  | 
  | cache.put(Fqn.fromString("/a/really/deeply/nested/node", "key", "value")
  | 
  | and all the higher level nodes already exist, are any eviction events generated for "/a", "/a/really", "/a/really/deeply", "/a/really/deeply/nested"?

No.  :-)

There is merit to suppressing the construction of the EvictedEventNode if it is not needed though - perhaps Region.putNodeEvent() should look like:


  | Region.putNodeEvent(Fqn fqn, NodeEventType type, int elementDifference)
  | 

and the region can construct the EvictedEventNode if needed.

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

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



More information about the jboss-dev-forums mailing list