Infinispan size eviction + diskStore overflow

2019-07-27 03:56发布

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条回答
女痞
2楼-- · 2019-07-27 04:45

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

查看更多
登录 后发表回答