Class CacheListener

  • All Implemented Interfaces:
    java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

    public class CacheListener
    extends java.lang.Object
    implements net.sf.ehcache.event.CacheEventListener
    Basic CacheEventListener which does nothing.
    Since:
    3.0-Beta3
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheListener

        public CacheListener()
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Specified by:
        clone in interface net.sf.ehcache.event.CacheEventListener
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • dispose

        public void dispose()
        Specified by:
        dispose in interface net.sf.ehcache.event.CacheEventListener
      • notifyElementEvicted

        public void notifyElementEvicted​(net.sf.ehcache.Ehcache arg0,
                                         net.sf.ehcache.Element arg1)
        Specified by:
        notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListener
      • notifyElementExpired

        public void notifyElementExpired​(net.sf.ehcache.Ehcache arg0,
                                         net.sf.ehcache.Element arg1)
        Specified by:
        notifyElementExpired in interface net.sf.ehcache.event.CacheEventListener
      • notifyElementPut

        public void notifyElementPut​(net.sf.ehcache.Ehcache arg0,
                                     net.sf.ehcache.Element arg1)
                              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 arg0,
                                         net.sf.ehcache.Element arg1)
                                  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 arg0,
                                         net.sf.ehcache.Element arg1)
                                  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 arg0)
        Specified by:
        notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListener