Package | Description |
---|---|
com.stoyanr.evictor.queue | |
com.stoyanr.evictor.scheduler |
Modifier and Type | Class and Description |
---|---|
class |
NavigableMapEvictionQueue<K,V>
An
EvictionQueue which uses a
ConcurrentNavigableMap to store its entries. |
class |
PriorityEvictionQueue<K,V>
An
EvictionQueue which uses a Queue to store its
entries. |
Constructor and Description |
---|
AbstractQueueEvictionScheduler(EvictionQueue<K,V> queue)
Creates an eviction scheduler with the specified queue.
|
DelayedTaskEvictionScheduler(EvictionQueue<K,V> queue)
Creates a delayed task eviction scheduler with the specified queue and a
ScheduledThreadPoolExecutor . |
DelayedTaskEvictionScheduler(EvictionQueue<K,V> queue,
ScheduledExecutorService executorService)
Creates a delayed task eviction scheduler with the specified queue and
scheduled executor service.
|
RegularTaskEvictionScheduler(EvictionQueue<K,V> queue)
Creates a regular task eviction scheduler with the specified queue, a
ScheduledThreadPoolExecutor , and a default
delay of 1 millisecond. |
RegularTaskEvictionScheduler(EvictionQueue<K,V> queue,
ScheduledExecutorService ses,
long delay,
TimeUnit timeUnit)
Creates a regular task eviction scheduler with the specified queue,
scheduled executor service, and delay.
|
SingleThreadEvictionScheduler(EvictionQueue<K,V> queue)
Creates a single thread eviction scheduler with the specified queue.
|
Copyright © 2012–2016. All rights reserved.