## Uses of Interface
org.apache.ignite.cache.eviction.EvictionPolicy

- Packages that use EvictionPolicy
  Package | Description
  --- | ---
  org.apache.ignite.cache.eviction | Contains cache eviction policy implementations.
  org.apache.ignite.cache.eviction.fifo | Contains cache FIFO eviction policy implementations.
  org.apache.ignite.cache.eviction.lru | Contains cache LRU eviction policy implementations.
  org.apache.ignite.cache.eviction.sorted | Contains cache sorted eviction policy implementation.
  org.apache.ignite.configuration | Contains configuration-related classes.

- - ### Uses of EvictionPolicy in org.apache.ignite.cache.eviction

    Classes in org.apache.ignite.cache.eviction that implement EvictionPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractEvictionPolicy<K,V>` Common functionality implementation for eviction policies with max size/max memory and batch eviction support.

  - ### Uses of EvictionPolicy in org.apache.ignite.cache.eviction.fifo

    Classes in org.apache.ignite.cache.eviction.fifo that implement EvictionPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FifoEvictionPolicy<K,V>` Eviction policy based on `First In First Out (FIFO)` algorithm and supports batch eviction.

  - ### Uses of EvictionPolicy in org.apache.ignite.cache.eviction.lru

    Classes in org.apache.ignite.cache.eviction.lru that implement EvictionPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LruEvictionPolicy<K,V>` Eviction policy based on `Least Recently Used (LRU)` algorithm and supports batch eviction.

  - ### Uses of EvictionPolicy in org.apache.ignite.cache.eviction.sorted

    Classes in org.apache.ignite.cache.eviction.sorted that implement EvictionPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SortedEvictionPolicy<K,V>` Cache eviction policy which will select the minimum cache entry for eviction.

  - ### Uses of EvictionPolicy in org.apache.ignite.configuration

    Methods in org.apache.ignite.configuration that return EvictionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `@Nullable EvictionPolicy<K,V>` | CacheConfiguration.`getEvictionPolicy()` Deprecated. Use `CacheConfiguration.getEvictionPolicyFactory()` instead.
    `EvictionPolicy<K,V>` | NearCacheConfiguration.`getNearEvictionPolicy()` Deprecated. Use `NearCacheConfiguration.getNearEvictionPolicyFactory()` instead.

    Methods in org.apache.ignite.configuration with parameters of type EvictionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `CacheConfiguration<K,V>` | CacheConfiguration.`setEvictionPolicy(@Nullable EvictionPolicy evictPlc)` Deprecated. Use `CacheConfiguration.setEvictionPolicyFactory(Factory)` instead.
    `NearCacheConfiguration<K,V>` | NearCacheConfiguration.`setNearEvictionPolicy(EvictionPolicy<K,V> nearEvictPlc)` Deprecated. Use `NearCacheConfiguration.setNearEvictionPolicyFactory(Factory)` instead.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020