问题
I am trying to configure Infinispan to set a maximum entries in memory, and additional entries (if there are more then the memory size) should be persisted to local file store. Is it possible to set in infinispan (I am doing a programmatic configuration) ? It was doable in ehcache I remember, but cannot google any manual on infinispan...
回答1:
The section describing the moving of entries from memory to the store when evicted is what is called as "passivation" in the Infinispan User guide here [1].
In regards to memory based eviction, I have to update the user guide but the original blog post with information on it can be found at [2].
[1] http://infinispan.org/docs/dev/user_guide/user_guide.html#eviction_anchor
[2] http://blog.infinispan.org/2015/09/memory-based-eviction.html
来源:https://stackoverflow.com/questions/40304501/infinispan-size-eviction-diskstore-overflow