public class UnBoundedSessionCache extends LruSessionCache
LruSessionCache.LruSessionCacheItemLruCache.LruCacheItemBaseCache.CacheItembackingStore, cacheIdleTimeoutInSeconds, configData, confMaxCacheSize, container, loadCountLock, loadFromBackupCount, removalTimeoutInSeconds, removeIfIdle_logger, cacheNamedefaultMaxEntries, head, isUnbounded, listSize, NO_TIMEOUT, tail, timeout, trimCountbucketLocks, buckets, entryCount, hitCount, listeners, maxBuckets, maxEntries, missCount, refreshFlags, removalCount, threshold| Constructor and Description |
|---|
UnBoundedSessionCache(String cacheName,
StatefulSessionContainer container,
int cacheIdleTime,
int removalTime) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isThresholdReached()
has cache reached its threshold
|
protected BaseCache.CacheItem |
trimLru() |
appendStats, createItem, destroy, eligibleForRemovalFromCache, getCacheHits, getCacheMisses, getLoadFromBackupCount, getMaxCacheSize, getNumBeansInCache, getNumExpiredSessionsRemoved, getNumPassivationErrors, getNumPassivations, getNumPassivationSuccess, getNumVictimsAccessed, incrementLoadFromBackupCount, itemAccessed, lookupEJB, passivateEJB, remove, remove, setBackingStore, setConfigData, setMaxCacheSize, setShutdownState, setStatefulSessionStoreMonitor, setUndeployedState, shutdown, trimItem, trimTimedoutItems, trimUnSortedTimedoutItems, valuesitemAdded, setCacheName, trimLrugetStatByName, getStats, init, itemRefreshed, itemRemoved, setTimeout, trimExpiredEntries_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, waitRefreshpublic UnBoundedSessionCache(String cacheName, StatefulSessionContainer container, int cacheIdleTime, int removalTime)
protected boolean isThresholdReached()
BaseCacheisThresholdReached in class BaseCacheprotected BaseCache.CacheItem trimLru()
Copyright © 2017. All rights reserved.