|
||||||||||
| 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.LruSessionCache
com.sun.ejb.containers.util.cache.UnBoundedSessionCache
public class UnBoundedSessionCache
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.ejb.containers.util.cache.LruSessionCache |
|---|
LruSessionCache.LruSessionCacheItem |
| 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.LruSessionCache |
|---|
backingStore, cacheIdleTimeoutInSeconds, configData, confMaxCacheSize, container, loadCountLock, loadFromBackupCount, numActivated, passivationCount, passivationCountLock, removalTimeoutInSeconds, removeIfIdle |
| 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 | |
|---|---|
UnBoundedSessionCache(java.lang.String cacheName,
StatefulSessionContainer container,
int cacheIdleTime,
int removalTime)
|
|
| Method Summary | |
|---|---|
protected boolean |
isThresholdReached()
has cache reached its threshold |
protected BaseCache.CacheItem |
trimLru()
|
| Methods inherited from class com.sun.ejb.containers.util.cache.LruCache |
|---|
getStatByName, getStats, itemAdded, 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, 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, removeAll, waitRefresh |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnBoundedSessionCache(java.lang.String cacheName,
StatefulSessionContainer container,
int cacheIdleTime,
int removalTime)
| Method Detail |
|---|
protected boolean isThresholdReached()
BaseCache
isThresholdReached in class BaseCacheprotected BaseCache.CacheItem trimLru()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||