Package | Description |
---|---|
org.tinygroup.jspengine.appserv.util.cache |
Modifier and Type | Class and Description |
---|---|
protected static class |
LruCache.LruCacheItem
default CacheItem class implementation
|
Modifier and Type | Field and Description |
---|---|
protected BaseCache.CacheItem[] |
BaseCache.buckets |
Modifier and Type | Method and Description |
---|---|
protected BaseCache.CacheItem |
BaseCache._remove(int hashCode,
Object key,
Object value)
remove the item stored at the key.
|
protected BaseCache.CacheItem |
BaseCache._removeItem(BaseCache.CacheItem ritem)
remove the item stored at the key.
|
protected BaseCache.CacheItem |
BaseCache.createItem(int hashCode,
Object key,
Object value,
int size)
create new item
|
protected BaseCache.CacheItem |
MultiLruCache.createItem(int hashCode,
Object key,
Object value,
int size)
create new item
|
protected BaseCache.CacheItem |
LruCache.createItem(int hashCode,
Object key,
Object value,
int size)
create new item
|
protected BaseCache.CacheItem |
BoundedMultiLruCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
BaseCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
MultiLruCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
LruCache.itemAdded(BaseCache.CacheItem item)
/**
this item is just added to the cache
|
protected BaseCache.CacheItem |
MultiLruCache.trimLru(int segment)
remove an lru item from one of the LRU lists
|
protected BaseCache.CacheItem |
LruCache.trimLru(long currentTime)
trim one item from the LRU list
|
Modifier and Type | Method and Description |
---|---|
protected BaseCache.CacheItem |
BaseCache._removeItem(BaseCache.CacheItem ritem)
remove the item stored at the key.
|
protected void |
BaseCache.itemAccessed(BaseCache.CacheItem item)
this item is accessed
|
protected void |
MultiLruCache.itemAccessed(BaseCache.CacheItem item)
this item is accessed
|
protected void |
LruCache.itemAccessed(BaseCache.CacheItem item)
this item is accessed
|
protected BaseCache.CacheItem |
BoundedMultiLruCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
BaseCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
MultiLruCache.itemAdded(BaseCache.CacheItem item)
this item is just added to the cache
|
protected BaseCache.CacheItem |
LruCache.itemAdded(BaseCache.CacheItem item)
/**
this item is just added to the cache
|
protected void |
BoundedMultiLruCache.itemRefreshed(BaseCache.CacheItem item,
int oldSize)
item value has been refreshed
|
protected void |
BaseCache.itemRefreshed(BaseCache.CacheItem item,
int oldSize)
item value has been refreshed
|
protected void |
MultiLruCache.itemRefreshed(BaseCache.CacheItem item,
int oldSize)
item value has been refreshed
|
protected void |
LruCache.itemRefreshed(BaseCache.CacheItem item,
int oldSize)
item value has been refreshed
|
protected void |
BoundedMultiLruCache.itemRemoved(BaseCache.CacheItem item)
item value has been removed from the cache
|
protected void |
BaseCache.itemRemoved(BaseCache.CacheItem item)
item value has been removed from the cache
|
protected void |
MultiLruCache.itemRemoved(BaseCache.CacheItem item)
item value has been removed from the cache
|
protected void |
LruCache.itemRemoved(BaseCache.CacheItem item)
item value has been removed from the cache
|
protected void |
BaseCache.trimItem(BaseCache.CacheItem item)
trim the item from the cache and notify listeners
|
Copyright © 2006–2018 TinyGroup. All rights reserved.