urn:infinispan:config:5.1
element expiration

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

Documentation
            Controls the default expiration settings for entries in the cache.
          
Properties
This component is not nillable.

Model
<expiration
  lifespan = xs:long
  maxIdle = xs:long
  reaperEnabled = xs:boolean
  wakeUpInterval = xs:long>

</expiration>


Attribute Summary
 xs:longlifespan
          Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds. 
 xs:longmaxIdle
          Maximum idle time a cache entry will be maintained in the cache, in milliseconds. 
 xs:booleanreaperEnabled
          Determines whether the background reaper thread is enabled to test entries for expiration. 
 xs:longwakeUpInterval
          Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores. 

Attribute Detail

lifespan

Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds. -1 means the entries never expire. Note that this can be overridden on a per-entry basis by using the Cache API.

Type:
xs:long
Use:
optional
Form:
unqualified

maxIdle

Maximum idle time a cache entry will be maintained in the cache, in milliseconds. If the idle time is exceeded, the entry will be expired cluster-wide. -1 means the entries never expire. Note that this can be overridden on a per-entry basis by using the Cache API.

Type:
xs:long
Use:
optional
Form:
unqualified

reaperEnabled

Determines whether the background reaper thread is enabled to test entries for expiration. Regardless of whether a reaper is used, entries are tested for expiration lazily when they are touched.

Type:
xs:boolean
Use:
optional
Form:
unqualified

wakeUpInterval

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="expiration">
<xs:complexType>
<xs:attribute name="wakeUpInterval" type="xs:long">
</xs:attribute>
<xs:attribute name="lifespan" type="xs:long">
</xs:attribute>
<xs:attribute name="maxIdle" type="xs:long">
</xs:attribute>
<xs:attribute name="reaperEnabled" type="xs:boolean">
</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.