| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMaxSizeExpungeStrategy
An
ExpungeStrategy that selects all expired entries and entries according to the
implementation so that after those entries have been expunged the cache size is not larger that
the given max size. |
class |
AbstractOneOverMaxSizeExpungeStrategy
An
AbstractMaxSizeExpungeStrategy that triggers if the cache size is larger than the max
size and selects the entries to evict by the given comparator. |
class |
AbstractRecyclingExpungeStrategy
An
AbstractMaxSizeExpungeStrategy that triggers once the cache size is larger than a max size plus a recycle
size or a recycle factor. |
class |
ExpiredOnlyExpungeStrategy
ExpungeStrategy that selects only entries that are expired.
|
class |
LfuExpungeStrategy
ExpungeStrategy that triggers on each entry added over the max size and selects the least
frequently used entry. |
class |
LfuRecyclingExpungeStrategy |
class |
LruExpungeStrategy |
class |
LruRecyclingExpungeStrategy |
class |
NoopExpungeStrategy
ExpungeStrategy that never triggers and does not return any MetaData to expunge.
|
| Modifier and Type | Method and Description |
|---|---|
ExpungeStrategy |
AbstractMapBackedCache.getExpungeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMapBackedCache.setExpungeStrategy(ExpungeStrategy expungeStrategy) |
| Constructor and Description |
|---|
AbstractMapBackedCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy)
Construct a new AbstractCache.
|
AbstractMapBackedCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy)
Construct a new AbstractCache.
|
AbstractMapBackedCustomTtlCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy)
Construct a new AbstractCustomTtlCache.
|
AbstractMapBackedCustomTtlCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy)
Construct a new AbstractCustomTtlCache.
|
| Constructor and Description |
|---|
FileCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir,
int directoryDepth) |
| Modifier and Type | Field and Description |
|---|---|
protected ExpungeStrategy |
BufferedSerializableIndexedDiskCache.bufferExpungeStrategy |
| Modifier and Type | Method and Description |
|---|---|
void |
LfuBufferedSerializableIndexedDiskCache.setExpungeStrategy(ExpungeStrategy expungeStrategy) |
void |
LruBufferedSerializableIndexedDiskCache.setExpungeStrategy(ExpungeStrategy expungeStrategy) |
| Constructor and Description |
|---|
AbstractIndexedDiskCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy,
File baseDir) |
AbstractIndexedDiskCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir) |
BufferedSerializableIndexedDiskCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy,
File baseDir,
ExpungeStrategy bufferExpungeStrategy) |
BufferedSerializableIndexedDiskCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir,
ExpungeStrategy bufferExpungeStrategy) |
ByteArrayIndexedDiskCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy,
File baseDir) |
ByteArrayIndexedDiskCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir) |
SerializableIndexedDiskCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy,
File baseDir) |
SerializableIndexedDiskCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir) |
| Constructor and Description |
|---|
MemoryCache(String name,
long defaultTimeToLive,
ExpungeStrategy expungeStrategy) |
MemoryCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy) |
Copyright © 2013 dontdrinkandroot. All Rights Reserved.