-
1. Re: Question about eviction policy and regions
tcherel Jan 7, 2005 6:15 PM (in response to fredatwork)I believe that in the JBoss terminology a Node is the the element identified by a fqn.
When looking at the eviction policy and the TreeCacheListener interface, it seems clear that eviction applies to a node as a whole and not to each individual cached object in the Hashtable of such node).
All that to say that I think that the maximum number of nodes inside a region is the maximum number of unique fqn that you can have under this region (which are not necessarily root nodes: /a/b/c/d/e denotes 5 nodes organized in a hierarchy).
Thomas -
2. Re: Question about eviction policy and regions
ben.wang Jan 7, 2005 8:36 PM (in response to fredatwork)More accurately, for eviction policy in aop, the maximum number of nodes corresponds to number of objects (and it's graph) under that specifc region.
That is, in aop, if a child object is not of *primitive* type, then a new fqn will be created to deflate the object recursively.
I will put this question into faq.
Thanks,
-Ben -
3. Re: Question about eviction policy and regions
fredatwork Jan 8, 2005 3:32 PM (in response to fredatwork)Ben,
Good idea to put this the faq.
Could you also explain the functional of region's attribute 'timeToLiveSeconds' as well ?
Fred