Class FIFOSessionCache

java.lang.Object
com.sun.appserv.util.cache.BaseCache
com.sun.appserv.util.cache.LruCache
All Implemented Interfaces:
com.sun.appserv.util.cache.Cache, EjbCacheStatsProviderDelegate, StatsProvider

public class FIFOSessionCache extends LruSessionCache
  • Constructor Details

  • Method Details

    • itemAccessed

      protected void itemAccessed(com.sun.appserv.util.cache.BaseCache.CacheItem item)
      Overrides:
      itemAccessed in class LruSessionCache
    • itemRefreshed

      protected void itemRefreshed(com.sun.appserv.util.cache.BaseCache.CacheItem item, int oldSize)
      Overrides:
      itemRefreshed in class com.sun.appserv.util.cache.LruCache
    • trimTimedoutItems

      public void trimTimedoutItems(int maxCount)
      Description copied from class: LruSessionCache
      trim the timedOut entries from the cache. This call is to be scheduled by a thread managed by the container. In this case a sorted LRU list exists based on access time and this list is scanned
      Overrides:
      trimTimedoutItems in class LruSessionCache