urn:infinispan:config:5.1
element eviction

Super Types
{urn:infinispan:config:5.1} (restriction)

Documentation
            Controls the eviction settings for the cache.
          
Properties
This component is not nillable.

Model
<eviction
  maxEntries = xs:int
  strategy = tns:evictionStrategy
  threadPolicy = tns:evictionThreadPolicy
  wakeUpInterval = xs:long>

</eviction>


Attribute Summary
 xs:intmaxEntries
          Maximum number of entries in a cache instance. 
 tns:evictionStrategystrategy
          Eviction strategy. 
 tns:evictionThreadPolicythreadPolicy
           Threading policy for eviction.  
 xs:longwakeUpInterval
          Deprecated, set on expiration instead. 

Attribute Detail

maxEntries

Maximum number of entries in a cache instance. Cache size is guaranteed not to exceed upper limit specified by max entries. However, due to the nature of eviction it is unlikely to ever be exactly maximum number of entries specified here.

Type:
xs:int
Use:
optional
Form:
unqualified

strategy

Eviction strategy. Available options are 'UNORDERED', 'LRU', 'LIRS' and 'NONE' (to disable eviction).

Type:
tns:evictionStrategy
Use:
optional
Form:
unqualified

threadPolicy

Threading policy for eviction.

Type:
tns:evictionThreadPolicy
Use:
optional
Form:
unqualified

wakeUpInterval

Deprecated, set on expiration instead. Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores. If you wish to disable the periodic eviction process altogether, set wakeupInterval to -1.

Type:
xs:long
Use:
optional
Form:
unqualified

Source
<xs:element minOccurs="0" name="eviction">
<xs:complexType>
<xs:attribute name="maxEntries" type="xs:int">
</xs:attribute>
<xs:attribute name="strategy" type="tns:evictionStrategy">
</xs:attribute>
<xs:attribute name="threadPolicy" type="tns:evictionThreadPolicy">
</xs:attribute>
<xs:attribute name="wakeUpInterval" type="xs:long">
</xs:attribute>
</xs:complexType>
</xs:element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.