com.servingxml.components.cache
Class MonitoredStore
java.lang.Object
com.servingxml.components.cache.MonitoredStore
- All Implemented Interfaces:
- Store, ConfigurationListener
public class MonitoredStore
- extends java.lang.Object
- implements Store, ConfigurationListener
Manages a list of cache entries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoredStore
public MonitoredStore(java.util.Properties properties)
doStartUp
public void doStartUp()
- Specified by:
doStartUp
in interface Store
- Specified by:
doStartUp
in interface ConfigurationListener
doShutDown
public void doShutDown()
- Specified by:
doShutDown
in interface Store
- Specified by:
doShutDown
in interface ConfigurationListener
getCount
public int getCount()
- Specified by:
getCount
in interface Store
removeAll
public void removeAll()
- Specified by:
removeAll
in interface Store
get
public java.lang.Object get(CacheDictionary dictionary,
java.lang.Object key)
- Specified by:
get
in interface Store
remove
protected void remove(CacheEntry entry)
add
public void add(CacheDictionary dictionary,
java.lang.Object key,
java.lang.Object data,
Expirable expirable,
RevalidationType revalidationType)
- Specified by:
add
in interface Store