org.apache.camel.component.cache
Class CacheEventListener
java.lang.Object
org.apache.camel.component.cache.CacheEventListener
- All Implemented Interfaces:
- Cloneable, net.sf.ehcache.event.CacheEventListener
public class CacheEventListener
- extends Object
- implements net.sf.ehcache.event.CacheEventListener
CacheEventListener
public CacheEventListener()
CacheEventListener
public CacheEventListener(CacheConsumer cacheConsumer)
notifyElementEvicted
public void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
- Specified by:
notifyElementEvicted
in interface net.sf.ehcache.event.CacheEventListener
notifyElementExpired
public void notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
- Specified by:
notifyElementExpired
in interface net.sf.ehcache.event.CacheEventListener
notifyElementPut
public void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementPut
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyElementRemoved
public void notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementRemoved
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyElementUpdated
public void notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
- Specified by:
notifyElementUpdated
in interface net.sf.ehcache.event.CacheEventListener
- Throws:
net.sf.ehcache.CacheException
notifyRemoveAll
public void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
- Specified by:
notifyRemoveAll
in interface net.sf.ehcache.event.CacheEventListener
getCacheConsumer
public CacheConsumer getCacheConsumer()
setCacheConsumer
public void setCacheConsumer(CacheConsumer cacheConsumer)
dispose
public void dispose()
- Specified by:
dispose
in interface net.sf.ehcache.event.CacheEventListener
clone
public Object clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface net.sf.ehcache.event.CacheEventListener
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
Apache Camel