Infinispan size eviction + diskStore overflow

≡放荡痞女 提交于 2019-12-24 05:53:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!