Package | Description |
---|---|
com.stoyanr.evictor | |
com.stoyanr.evictor.map | |
com.stoyanr.evictor.queue | |
com.stoyanr.evictor.scheduler |
Modifier and Type | Method and Description |
---|---|
void |
EvictionScheduler.cancelEviction(EvictibleEntry<K,V> e)
Cancels the eviction of the specified entry from its map.
|
void |
EvictionQueue.putEntry(EvictibleEntry<K,V> e)
Puts the specified evictible entry into the queue.
|
void |
EvictionQueue.removeEntry(EvictibleEntry<K,V> e)
Removes the specified evictible entry from the queue.
|
void |
EvictionScheduler.scheduleEviction(EvictibleEntry<K,V> e)
Schedules the eviction of the specified entry from its map.
|
Constructor and Description |
---|
ConcurrentMapWithTimedEvictionDecorator(ConcurrentMap<K,EvictibleEntry<K,V>> delegate,
EvictionScheduler<K,V> scheduler)
Creates a new map that supports timed entry eviction with the specified
delegate and eviction scheduler.
|
Modifier and Type | Method and Description |
---|---|
int |
PriorityEvictionQueue.EvictibleEntryComparator.compare(EvictibleEntry<K,V> entry1,
EvictibleEntry<K,V> entry2) |
int |
PriorityEvictionQueue.EvictibleEntryComparator.compare(EvictibleEntry<K,V> entry1,
EvictibleEntry<K,V> entry2) |
void |
NavigableMapEvictionQueue.putEntry(EvictibleEntry<K,V> e)
Puts the specified evictible entry into the queue.
|
void |
PriorityEvictionQueue.putEntry(EvictibleEntry<K,V> e)
Puts the specified evictible entry into the queue.
|
void |
NavigableMapEvictionQueue.removeEntry(EvictibleEntry<K,V> e)
Removes the specified evictible entry from the queue.
|
void |
PriorityEvictionQueue.removeEntry(EvictibleEntry<K,V> e)
Removes the specified evictible entry from the queue.
|
Constructor and Description |
---|
NavigableMapEvictionQueue(ConcurrentNavigableMap<Long,EvictibleEntry<K,V>> map)
Creates a navigable map eviction queue with the specified map.
|
PriorityEvictionQueue(Queue<EvictibleEntry<K,V>> queue)
Creates a priority eviction queue with the specified queue.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutorServiceEvictionScheduler.cancelEviction(EvictibleEntry<K,V> e)
Cancels the eviction of the specified entry from its map.
|
void |
AbstractQueueEvictionScheduler.cancelEviction(EvictibleEntry<K,V> e)
Cancels the eviction of the specified entry from its map.
|
protected void |
RegularTaskEvictionScheduler.onCancelEviction(EvictibleEntry<K,V> e)
Actually cancels the eviction of the specified entry.
|
protected void |
DelayedTaskEvictionScheduler.onCancelEviction(EvictibleEntry<K,V> e)
Actually cancels the eviction of the specified entry.
|
protected abstract void |
AbstractQueueEvictionScheduler.onCancelEviction(EvictibleEntry<K,V> e)
Actually cancels the eviction of the specified entry.
|
protected void |
SingleThreadEvictionScheduler.onCancelEviction(EvictibleEntry<K,V> e)
Actually cancels the eviction of the specified entry.
|
protected void |
RegularTaskEvictionScheduler.onScheduleEviction(EvictibleEntry<K,V> e)
Actually schedules the eviction of the specified entry.
|
protected void |
DelayedTaskEvictionScheduler.onScheduleEviction(EvictibleEntry<K,V> e)
Actually schedules the eviction of the specified entry.
|
protected abstract void |
AbstractQueueEvictionScheduler.onScheduleEviction(EvictibleEntry<K,V> e)
Actually schedules the eviction of the specified entry.
|
protected void |
SingleThreadEvictionScheduler.onScheduleEviction(EvictibleEntry<K,V> e)
Actually schedules the eviction of the specified entry.
|
void |
ExecutorServiceEvictionScheduler.scheduleEviction(EvictibleEntry<K,V> e)
Schedules the eviction of the specified entry from its map.
|
void |
AbstractQueueEvictionScheduler.scheduleEviction(EvictibleEntry<K,V> e)
Schedules the eviction of the specified entry from its map.
|
Copyright © 2012–2016. All rights reserved.