[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2009-03-24 Thread angusm
Mircea (or other), Is it possible to configure implicitly created nodes so they are evicted? I have a cache (JBC 303) which will have 100,000 entries, and a depth of 5. So that is, potentially, 400,000 implicitly created nodes hanging around indefinitely (if I have correctly understood). Thanks,

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-30 Thread lovelyliatroim
anonymous wrote : | The general rule is that implicitly created nodes are not being counted for eviction. They are not structural nodes neither (e.g. if you add something to them they will be considered for eviction). | Hi Mircea, Ok I need to brush up on my jboss cache terminology, so

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-30 Thread mircea.markus
anonymous wrote : Eviction timer thread runs every 3 seconds. So back to the original question, how does maxNodes work?? The general rule is that implicitly created nodes are not being counted for eviction. They are not structural nodes neither (e.g. if you add something to them they will be co

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-30 Thread [EMAIL PROTECTED]
I'll let Mircea answer, he's the guy who added the resident node feature. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185779#4185779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185779

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-30 Thread lovelyliatroim
So here is the config for the test | | 3 | 30 | 30 | | | My sample test case | public void evictionTest(String configPath) throws Exception{ | CacheFactory factory = DefaultCacheFactory.getIns

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-29 Thread lovelyliatroim
anonymous wrote : | Have you marked any of these as resident? | No none marked as resident!! Will dig out my test case and post, not sure the config is right because i was playing around with different scenarios, will set up properly tomorrow and post it. View the original post : http://

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-29 Thread [EMAIL PROTECTED]
"lovelyliatroim" wrote : | I have done the test on it and looks to me like its based on nodes with data attached, could someone just confirm this for me on how it works. | Have you marked any of these as resident? View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-28 Thread lovelyliatroim
Just seen this in the documents anonymous wrote : | Q. I have set up an eviction region but none of the nodes in that region get evicted. | | | | Make sure that the region starts with the / character, i.e. | | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185033#4

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-27 Thread lovelyliatroim
Also documentation for this anonymous wrote : | # timeToLiveSeconds - The amount of time a node is not written to or read (in seconds) before the node is swept away. 0 denotes no limit. | If you leave it out, you get an exception like so | | org.jboss.cache.config.ConfigurationExc