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.igfs |
Contains IGFS LRU eviction policy implementations.
|
org.apache.ignite.cache.eviction.lru |
Contains cache LRU eviction policy implementations.
|
org.apache.ignite.cache.eviction.random |
Contains cache randomized eviction policy implementations.
|
org.apache.ignite.cache.eviction.sorted |
Contains cache sorted eviction policy implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
EvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<K,V> entry)
Callback for whenever entry is accessed.
|
Modifier and Type | Method and Description |
---|---|
Collection<EvictableEntry<K,V>> |
FifoEvictionPolicy.queue()
Gets read-only view on internal
FIFO queue in proper order. |
Modifier and Type | Method and Description |
---|---|
void |
FifoEvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<K,V> entry)
Callback for whenever entry is accessed.
|
Modifier and Type | Method and Description |
---|---|
void |
IgfsPerBlockLruEvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<org.apache.ignite.internal.processors.igfs.IgfsBlockKey,byte[]> entry)
Callback for whenever entry is accessed.
|
Modifier and Type | Method and Description |
---|---|
Collection<EvictableEntry<K,V>> |
LruEvictionPolicy.queue()
Gets read-only view on internal
FIFO queue in proper order. |
Modifier and Type | Method and Description |
---|---|
void |
LruEvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<K,V> entry)
Callback for whenever entry is accessed.
|
Modifier and Type | Method and Description |
---|---|
void |
RandomEvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<K,V> entry)
Callback for whenever entry is accessed.
|
Modifier and Type | Method and Description |
---|---|
Collection<EvictableEntry<K,V>> |
SortedEvictionPolicy.set()
Gets read-only view of backed set in proper order.
|
Modifier and Type | Method and Description |
---|---|
void |
SortedEvictionPolicy.onEntryAccessed(boolean rmv,
EvictableEntry<K,V> entry)
Callback for whenever entry is accessed.
|
Constructor and Description |
---|
SortedEvictionPolicy(int max,
Comparator<EvictableEntry<K,V>> comp)
Constructs sorted eviction policy with given maximum size and given entry comparator.
|
SortedEvictionPolicy(int max,
int batchSize,
Comparator<EvictableEntry<K,V>> comp)
Constructs sorted eviction policy with given maximum size, eviction batch size and entries comparator.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015