10.4.2. FIFOAlgorithm - First In, First Out
org.jboss.cache.eviction.FIFOAlgorithm
controls the eviction in a proper first in first out order. This policy guarantees a constant order ( O (1)
) for adds, removals and lookups (visits). It has the following configuration parameters:
maxNodes
- This is the maximum number of nodes allowed in this region. 0 denotes immediate expiry, -1 denotes no limit.minTimeToLive
- the minimum amount of time a node must be allowed to live after being accessed before it is allowed to be considered for eviction. 0 denotes that this feature is disabled, which is the default value.