public class FIFOSessionCache 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 |
|---|
FIFOSessionCache(String cacheName,
SFSBContainerCallback container,
int cacheIdleTime,
int removalTime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
itemAccessed(BaseCache.CacheItem item)
this item is accessed
|
protected void |
itemRefreshed(BaseCache.CacheItem item,
int oldSize)
item value has been refreshed
|
void |
trimTimedoutItems(int maxCount)
trim the timedOut entries from the cache.
|
appendStats, createItem, destroy, eligibleForRemovalFromCache, getCacheHits, getCacheMisses, getLoadFromBackupCount, getMaxCacheSize, getNumBeansInCache, getNumExpiredSessionsRemoved, getNumPassivationErrors, getNumPassivations, getNumPassivationSuccess, getNumVictimsAccessed, incrementLoadFromBackupCount, lookupEJB, passivateEJB, remove, remove, setBackingStore, setConfigData, setMaxCacheSize, setShutdownState, setStatefulSessionStoreMonitor, setUndeployedState, shutdown, trimItem, trimUnSortedTimedoutItems, valuesitemAdded, setCacheName, trimLrugetStatByName, getStats, init, 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, isThresholdReached, keys, loadValue, notifyRefresh, put, put, remove, remove, removeAll, waitRefreshpublic FIFOSessionCache(String cacheName, SFSBContainerCallback container, int cacheIdleTime, int removalTime)
protected void itemAccessed(BaseCache.CacheItem item)
LruCacheitemAccessed in class LruSessionCacheitem - CacheItem accessed
Cache bucket is already synchronized by the callerprotected void itemRefreshed(BaseCache.CacheItem item, int oldSize)
LruCacheitemRefreshed in class LruCacheitem - CacheItem that was refreshedoldSize - size of the previous value that was refreshed
Cache bucket is already synchronized by the callerpublic void trimTimedoutItems(int maxCount)
LruSessionCachetrimTimedoutItems in class LruSessionCacheCopyright © 2017. All rights reserved.