java.util.Map<java.lang.Object,java.lang.Object>
, Cache
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 | Description |
---|---|---|
static java.lang.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_TTL
DEFAULT_DEBUG, DEFAULT_NAME, DEFAULT_TYPE, PARAM_DEBUG, PARAM_NAME, PARAM_TYPE
Constructor | Description |
---|---|
LRUHashbelt() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
get(java.lang.Object key) |
|
java.lang.String |
getType() |
Indicates the type of this cache.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
|
void |
putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map) |
|
java.lang.Object |
remove(java.lang.Object key) |
expire, expireAll, getName, invokeMethod, invokeStaticMethod
clear, close, containsKey, containsValue, entrySet, getCapacity, getObjectFromCache, getTTL, initialize, isEmpty, keySet, lock, putObjectIntoCache, removeObjectFromCache, size, values
public static final java.lang.String TYPE
public java.lang.String getType()
public java.lang.Object get(java.lang.Object key)
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
public java.lang.Object remove(java.lang.Object key)
public void putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com