Infinispan Eviction: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
=Overview=
=Overview=


The number of eviction events is collected and exposed as the <tt>[[Infinispan Metrics Reference#evictions|evictions]]</tt> CLI metric.
The number of eviction events is collected and exposed as an [[Infinispan Cache Metrics#Evictions|Infinispan metric]].


=Relationship to Passivation=
=Relationship to Passivation=
Line 15: 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"/>