wt.templateutil.processor
Class ServletSessionCookieManager.MostRecentlyUsedCookieIds

java.lang.Object
  extended bywt.templateutil.processor.MostRecentlyUsedCache
      extended bywt.templateutil.processor.ServletSessionCookieManager.MostRecentlyUsedCookieIds
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
ServletSessionCookieManager

static class ServletSessionCookieManager.MostRecentlyUsedCookieIds
extends MostRecentlyUsedCache
implements Externalizable


Nested Class Summary
 
Nested classes inherited from class wt.templateutil.processor.MostRecentlyUsedCache
 
Field Summary
private  int maxEntries
           
 
Fields inherited from class wt.templateutil.processor.MostRecentlyUsedCache
 
Constructor Summary
ServletSessionCookieManager.MostRecentlyUsedCookieIds()
           
ServletSessionCookieManager.MostRecentlyUsedCookieIds(int maxEntries)
           
 
Method Summary
 void readExternal(ObjectInput in)
           
protected  boolean removeEldestEntry(Map.Entry eldest)
          Override this method as described in LinkedHashMap.removeEldestEntry(java.util.Map.Entry).
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class wt.templateutil.processor.MostRecentlyUsedCache
cache, clear, iterator, lookup, size, uncache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxEntries

private int maxEntries
Constructor Detail

ServletSessionCookieManager.MostRecentlyUsedCookieIds

public ServletSessionCookieManager.MostRecentlyUsedCookieIds()

ServletSessionCookieManager.MostRecentlyUsedCookieIds

public ServletSessionCookieManager.MostRecentlyUsedCookieIds(int maxEntries)
Method Detail

removeEldestEntry

protected boolean removeEldestEntry(Map.Entry eldest)
Description copied from class: MostRecentlyUsedCache
Override this method as described in LinkedHashMap.removeEldestEntry(java.util.Map.Entry).

Specified by:
removeEldestEntry in class MostRecentlyUsedCache

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class MostRecentlyUsedCache
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class MostRecentlyUsedCache
Throws:
IOException
ClassNotFoundException