本文介绍了Infinispan大小逐出+ DiskStore溢出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Infinispan配置为在内存中设置最大条目,并且应将其他条目(如果有更多条目,然后再增加内存大小)应持久保存到本地文件存储中.是否可以在infinispan中设置(我正在以编程方式进行配置)?我记得它在ehcache中是可行的,但无法在infinispan上使用Google的任何手册...

解决方案

本节描述了被逐出后将条目从内存移动到存储的部分,在Infinispan用户指南[1]中称为钝化"./p>

关于基于内存的逐出,我必须更新用户指南,但有关原始信息的博客文章可以在[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

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...

解决方案

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

这篇关于Infinispan大小逐出+ DiskStore溢出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 19:57