Infinispan Eviction: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[Infinispan Concepts#Eviction|Infinispan Concepts]]
* [[Infinispan Concepts#Eviction|Infinispan Concepts]]
* [[Infinispan Expiration|Expiration]]


=Overview=
=Overview=
The number of eviction events is collected and exposed as an [[Infinispan Cache Metrics#Evictions|Infinispan metric]].


=Relationship to Passivation=
=Relationship to Passivation=
Line 12: Line 15:
:[[Infinispan Concepts#Passivation|Infinispan Concepts - Passivation]]
:[[Infinispan Concepts#Passivation|Infinispan Concepts - Passivation]]
</blockquote>
</blockquote>
=Memory-Based Eviction=
<font color=red>
TODO
<pre>
<eviction strategy="LRU" size="10000000" type="MEMORY"/>
</pre>
</font>

Latest revision as of 20:51, 8 February 2017

Internal

Overview

The number of eviction events is collected and exposed as an Infinispan metric.

Relationship to Passivation

If passivation is configured without an eviction policy being selected, only manually evicted entities will be passivated. This comes from instance logs. For more details on passivation, see:

Infinispan Concepts - Passivation

Memory-Based Eviction

TODO

<eviction strategy="LRU" size="10000000" type="MEMORY"/>