org.sakaiproject.component.app.presentation
Class CacheMap

java.lang.Object
  extended byorg.sakaiproject.component.app.presentation.CacheMap

public class CacheMap
extends Object


Constructor Summary
CacheMap(int cacheTime, int cacheSize, String title)
           
CacheMap(int cacheTime, int cacheSize, String title, int messageCount, boolean debug)
           
 
Method Summary
 void clear()
           
 void expireAll()
           
 void expireTop()
          Check to see if the oldest entry in the table needs to expire.
 Object get(Object key)
          Retrieve an element
 void put(Object key, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheMap

public CacheMap(int cacheTime,
                int cacheSize,
                String title,
                int messageCount,
                boolean debug)

CacheMap

public CacheMap(int cacheTime,
                int cacheSize,
                String title)
Method Detail

toString

public String toString()

expireTop

public void expireTop()
Check to see if the oldest entry in the table needs to expire.


expireAll

public void expireAll()

clear

public void clear()

put

public void put(Object key,
                Object value)

get

public Object get(Object key)
Retrieve an element