This content has been marked as final.
Show 2 replies
-
1. Re: Flushing it all to he store.
mircea.markus Sep 21, 2009 4:05 AM (in response to sannegrinovero)When some value is Expired, is it going to be removed from everywhere, including the Store, or is it going to be removed from node's memory and flushed to the store?
expired data will be removed from both memory and storage. Infinispan
works both with eviction(keep only N elements in memory) and expiration(keep this element for M seconds/millis). For details take a look here: http://www.jboss.org/community/wiki/infinispan-evictionI would like to be able to shutdown all nodes, and later restart them without loosing any information; Is there some documentation about such an usage, or configuration examples?
if you use a cache store (no passivation) then whatever you write in memory will be mirrored to the store (your case DB). Next time you restart the cache set "preload" of the store to true and all the persisted data will be loaded at startup. You might want to use an async cache store (async=true at cache store config) to improve responsiveness. -
2. Re: Flushing it all to he store.
sannegrinovero Sep 21, 2009 9:07 AM (in response to sannegrinovero)thank you!
is looking very good.