[jboss-user] [JBossCache] - Re: How to update cache when new rows has been added into ta

mircea.markus do-not-reply at jboss.com
Tue Feb 5 12:41:00 EST 2008


basically your cache needs to be notified by the data store whenever a certain table data is modified, and at that point it should cleanup the cache(the DBMS might help you on this, e.g. JServer).
If you can stale data for short periods of time is acceptable, you can write an eviction policy that will call periodically the database for external updates and cleanup the cache accordingly. 

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

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



More information about the jboss-user mailing list