public final class LRUHashbelt extends AbstractHashbelt
Objects which are rarely used will work their way down the conveyor belt, and eventually be discarded, if they are not referenced.
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The type of the cache.
|
DEFAULT_CAPACITY, DEFAULT_CONTAINER_CLASS, DEFAULT_CONTAINERS, DEFAULT_MONITOR, DEFAULT_REAPER_CLASS, DEFAULT_TTL, PARAM_CAPACITY, PARAM_CONTAINER_CLASS, PARAM_CONTAINERS, PARAM_MONITOR, PARAM_REAPER_CLASS, PARAM_TTLDEFAULT_DEBUG, DEFAULT_NAME, DEFAULT_TYPE, PARAM_DEBUG, PARAM_NAME, PARAM_TYPE| Constructor and Description |
|---|
LRUHashbelt() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object key) |
String |
getType()
Indicates the type of this cache.
|
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> map) |
Object |
remove(Object key) |
clear, close, containsKey, containsValue, entrySet, getCapacity, getObjectFromCache, getTTL, initialize, isEmpty, keySet, lock, putObjectIntoCache, removeObjectFromCache, size, valuesexpire, expireAll, getName, invokeMethod, invokeStaticMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String TYPE
Copyright © 2014. All rights reserved.