public class NRUSessionCache extends LruSessionCache
LruSessionCache.LruSessionCacheItem| Modifier and Type | Field and Description |
|---|---|
protected boolean |
doOrdering |
protected int |
orderingThreshold |
backingStore, cacheIdleTimeoutInSeconds, configData, confMaxCacheSize, container, loadCountLock, loadFromBackupCount, removalTimeoutInSeconds, removeIfIdle_logger, cacheName| Constructor and Description |
|---|
NRUSessionCache(String cacheName,
SFSBContainerCallback container,
int cacheIdleTime,
int removalTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(int maxEntries,
float loadFactor,
Properties props) |
protected void |
itemAccessed(com.sun.appserv.util.cache.BaseCache.CacheItem item) |
protected com.sun.appserv.util.cache.BaseCache.CacheItem |
itemAdded(com.sun.appserv.util.cache.BaseCache.CacheItem item) |
protected void |
itemRefreshed(com.sun.appserv.util.cache.BaseCache.CacheItem item,
int oldSize) |
protected void |
itemRemoved(com.sun.appserv.util.cache.BaseCache.CacheItem item) |
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, valuessetCacheName, trimLrugetStatByName, getStats, init, 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, isEmpty, isThresholdReached, keys, loadValue, notifyRefresh, put, put, remove, remove, removeAll, waitRefreshprotected boolean doOrdering
protected int orderingThreshold
public NRUSessionCache(String cacheName, SFSBContainerCallback container, int cacheIdleTime, int removalTime)
public void init(int maxEntries,
float loadFactor,
Properties props)
init in interface com.sun.appserv.util.cache.Cacheinit in class com.sun.appserv.util.cache.BaseCacheprotected com.sun.appserv.util.cache.BaseCache.CacheItem itemAdded(com.sun.appserv.util.cache.BaseCache.CacheItem item)
itemAdded in class LruEJBCacheprotected void itemAccessed(com.sun.appserv.util.cache.BaseCache.CacheItem item)
itemAccessed in class LruSessionCacheprotected void itemRefreshed(com.sun.appserv.util.cache.BaseCache.CacheItem item,
int oldSize)
itemRefreshed in class com.sun.appserv.util.cache.LruCacheprotected void itemRemoved(com.sun.appserv.util.cache.BaseCache.CacheItem item)
itemRemoved in class com.sun.appserv.util.cache.LruCachepublic void trimTimedoutItems(int maxCount)
LruSessionCachetrimTimedoutItems in class LruSessionCacheCopyright © 2015. All rights reserved.