[jboss-user] [JBossCache] - Re: RC1->RC3 problems

supi do-not-reply at jboss.com
Tue Jul 31 05:54:02 EDT 2007


"manik.surtani at jboss.com" wrote : 
  | A cache is not a database.  A database is, by definition, persistent storage so such behaviour is nonsensical for a db.  And this is why caches delegate persistence to dbs - in JBC's case using a cache loader.

Umm, persistence is a relative term, valid within a certain scope. A local JB cache without cache loader indeed offers persistence within its operating environment, the JVM. The environment's execution entities, threads, can put objects into the cache, die, respawn and read them back from cache. Since the cache's storage environment, the heap, persists during the cache's life (even when the cache is stopped), there is no reason why the cache's own threads should be excluded from this mechanism and can't be restarted without losing data.


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

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



More information about the jboss-user mailing list