I have only one node in my TreeCache. I add all the objects in the same node.
| for(int i=0;i<10000;i++){
| cache.put("/a", new String("key" + i), new String("value" + i);
| }
|
How do I configure my eviction policy so that I have only 500 key-value pairs
in memory and the rest passivated to disk. All the configurations I could see
were for nodes rather than keys. Has anybody implemented an eviction policy for
this kinda requirement?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914298#3914298
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914298
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user