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.
|
Modifier and Type | Method and Description |
---|---|
AbstractEvictionPolicy<K,V> |
AbstractEvictionPolicy.setBatchSize(int batchSize)
Sets batch size.
|
AbstractEvictionPolicy<K,V> |
AbstractEvictionPolicy.setMaxMemorySize(long maxMemSize)
Sets maximum allowed cache size in bytes.
|
AbstractEvictionPolicy<K,V> |
AbstractEvictionPolicy.setMaxSize(int max)
Sets maximum allowed size of cache before entry will start getting evicted.
|
Modifier and Type | Class and Description |
---|---|
class |
FifoEvictionPolicy<K,V>
Eviction policy based on
First In First Out (FIFO) algorithm and supports batch eviction. |
Modifier and Type | Class and Description |
---|---|
class |
LruEvictionPolicy<K,V>
Eviction policy based on
Least Recently Used (LRU) algorithm and supports batch eviction. |
Modifier and Type | Class and Description |
---|---|
class |
SortedEvictionPolicy<K,V>
Cache eviction policy which will select the minimum cache entry for eviction.
|
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024