org.apache.avalon.excalibur.cache
Class AbstractCache
java.lang.Object
|
+--org.apache.avalon.excalibur.cache.AbstractCache
- All Implemented Interfaces:
- Cache, org.apache.avalon.framework.component.Component
- Direct Known Subclasses:
- DefaultCache
- public abstract class AbstractCache
- extends java.lang.Object
- implements Cache
- Author:
- Eung-ju Park
Field Summary |
protected java.util.ArrayList |
m_listeners
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_listeners
protected java.util.ArrayList m_listeners
AbstractCache
public AbstractCache()
addListener
public void addListener(CacheListener listener)
- Description copied from interface:
Cache
- Add listener.
- Specified by:
addListener
in interface Cache
- Following copied from interface:
org.apache.avalon.excalibur.cache.Cache
- Parameters:
listener
- listener instance to add
removeListener
public void removeListener(CacheListener listener)
- Description copied from interface:
Cache
- Remove listener.
- Specified by:
removeListener
in interface Cache
- Following copied from interface:
org.apache.avalon.excalibur.cache.Cache
- Parameters:
listener
- listener instance to remove
notifyAdded
protected void notifyAdded(java.lang.Object key,
java.lang.Object value)
notifyRemoved
protected void notifyRemoved(java.lang.Object key,
java.lang.Object value)
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.