public class CacheListener
extends java.lang.Object
implements net.sf.ehcache.event.CacheEventListener
CacheEventListener
which does nothing.Constructor and Description |
---|
CacheListener() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
dispose() |
void |
notifyElementEvicted(net.sf.ehcache.Ehcache arg0,
net.sf.ehcache.Element arg1) |
void |
notifyElementExpired(net.sf.ehcache.Ehcache arg0,
net.sf.ehcache.Element arg1) |
void |
notifyElementPut(net.sf.ehcache.Ehcache arg0,
net.sf.ehcache.Element arg1) |
void |
notifyElementRemoved(net.sf.ehcache.Ehcache arg0,
net.sf.ehcache.Element arg1) |
void |
notifyElementUpdated(net.sf.ehcache.Ehcache arg0,
net.sf.ehcache.Element arg1) |
void |
notifyRemoveAll(net.sf.ehcache.Ehcache arg0) |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface net.sf.ehcache.event.CacheEventListener
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void dispose()
dispose
in interface net.sf.ehcache.event.CacheEventListener
public void notifyElementEvicted(net.sf.ehcache.Ehcache arg0, net.sf.ehcache.Element arg1)
notifyElementEvicted
in interface net.sf.ehcache.event.CacheEventListener
public void notifyElementExpired(net.sf.ehcache.Ehcache arg0, net.sf.ehcache.Element arg1)
notifyElementExpired
in interface net.sf.ehcache.event.CacheEventListener
public void notifyElementPut(net.sf.ehcache.Ehcache arg0, net.sf.ehcache.Element arg1) throws net.sf.ehcache.CacheException
notifyElementPut
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyElementRemoved(net.sf.ehcache.Ehcache arg0, net.sf.ehcache.Element arg1) throws net.sf.ehcache.CacheException
notifyElementRemoved
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyElementUpdated(net.sf.ehcache.Ehcache arg0, net.sf.ehcache.Element arg1) throws net.sf.ehcache.CacheException
notifyElementUpdated
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyRemoveAll(net.sf.ehcache.Ehcache arg0)
notifyRemoveAll
in interface net.sf.ehcache.event.CacheEventListener