|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.ejb.containers.util.cache.BaseCache
com.sun.ejb.containers.util.cache.LruCache
com.sun.ejb.containers.util.cache.PassivatedSessionCache
public class PassivatedSessionCache
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.ejb.containers.util.cache.LruCache |
|---|
LruCache.LruCacheItem |
| Nested classes/interfaces inherited from class com.sun.ejb.containers.util.cache.BaseCache |
|---|
BaseCache.CacheItem |
| Field Summary |
|---|
| Fields inherited from class com.sun.ejb.containers.util.cache.LruCache |
|---|
_logger, cacheName, head, listSize, NO_TIMEOUT, tail, timeout, trimCount |
| Fields inherited from class com.sun.ejb.containers.util.cache.BaseCache |
|---|
_rb, addCount, addCountLk, bucketLocks, buckets, entryCount, entryCountLk, hitCount, hitCountLk, listeners, maxBuckets, missCount, missCountLk, overflowCount, overflowCountLk, refreshCount, refreshCountLk, refreshFlags, removalCount, removalCountLk, threshold |
| Constructor Summary | |
|---|---|
PassivatedSessionCache()
default constructor |
|
PassivatedSessionCache(long timeout)
constructor with specified timeout |
|
| Method Summary | |
|---|---|
protected boolean |
isThresholdReached()
has cache reached its threshold |
protected BaseCache.CacheItem |
itemAdded(BaseCache.CacheItem item)
this item is just added to the cache |
| Methods inherited from class com.sun.ejb.containers.util.cache.LruCache |
|---|
createItem, getStatByName, getStats, itemAccessed, itemRefreshed, itemRemoved, setCacheName, trimExpiredEntries, trimLru |
| Methods inherited from class com.sun.ejb.containers.util.cache.BaseCache |
|---|
_put, _remove, _removeItem, add, add, addCacheListener, clear, clearStats, contains, decrementEntryCount, destroy, elements, eq, get, get, getAll, getEntryCount, getIndex, getIndex, handleOverflow, hash, incrementAddCount, incrementEntryCount, incrementHitCount, incrementMissCount, incrementOverflowCount, incrementRefreshCount, incrementRemovalCount, init, init, isEmpty, keys, loadValue, notifyRefresh, put, put, remove, remove, remove, removeAll, trimItem, values, waitRefresh |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassivatedSessionCache()
public PassivatedSessionCache(long timeout)
| Method Detail |
|---|
protected BaseCache.CacheItem itemAdded(BaseCache.CacheItem item)
itemAdded in class LruCacheitem - CacheItem that was created
protected boolean isThresholdReached()
BaseCache
isThresholdReached in class BaseCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||