maslan
maslan

Reputation: 2178

Infinispan size eviction + diskStore overflow

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

Upvotes: 1

Views: 535

Answers (1)

Mudokonman
Mudokonman

Reputation: 901

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

Upvotes: 2

Related Questions