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...
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
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