This content has been marked as final. Show 2 replies
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-eviction
I 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.
is looking very good.