|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Cache in org.tbee.cache.simple |
|---|
| Classes in org.tbee.cache.simple that implement Cache | |
|---|---|
class |
LeastRecentlyUsedCache<K,V>
This cache has a maximum number of items it remembers. |
class |
LifespanCache
This cache holds items only for a specified number of seconds accessing the item does NOT restart the counter (see TimeoutCache) |
class |
TimeoutCache
This cache holds items only for a specified number of seconds, but each time the item is accessed, the counter is restarted. |
| Methods in org.tbee.cache.simple that return Cache | |
|---|---|
static Cache |
CacheFactory.newHashMapCache()
|
static Cache |
CacheFactory.newHashMapCacheSoft()
|
static Cache |
CacheFactory.newHashMapCacheWeak()
|
static Cache |
CacheFactory.newLeastRecentlyUsedCache(int pSize)
|
static Cache |
CacheFactory.newLeastRecentlyUsedCacheSoft(int pSize)
|
static Cache |
CacheFactory.newLeastRecentlyUsedCacheWeak(int pSize)
|
static Cache |
CacheFactory.newLifespanCache(int pLifespan)
|
static Cache |
CacheFactory.newLifespanCacheSoft(int pLifespan)
|
static Cache |
CacheFactory.newLifespanCacheWeak(int pLifespan)
|
static Cache |
CacheFactory.newTimeoutCache(int pTimeout)
|
static Cache |
CacheFactory.newTimeoutCacheSoft(int pTimeout)
|
static Cache |
CacheFactory.newTimeoutCacheWeak(int pTimeout)
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||