org.gcube.vremanagement.softwaregateway.impl.repositorymanager.cache
Class MyCacheManagerEventListener

java.lang.Object
  extended by org.gcube.vremanagement.softwaregateway.impl.repositorymanager.cache.MyCacheManagerEventListener
All Implemented Interfaces:
Cloneable, net.sf.ehcache.event.CacheEventListener, net.sf.ehcache.event.CacheManagerEventListener

public class MyCacheManagerEventListener
extends Object
implements net.sf.ehcache.event.CacheManagerEventListener, net.sf.ehcache.event.CacheEventListener


Constructor Summary
MyCacheManagerEventListener()
           
 
Method Summary
 Object clone()
           
 void dispose()
           
 net.sf.ehcache.Status getStatus()
           
 void init()
           
 void notifyCacheAdded(String arg0)
           
 void notifyCacheRemoved(String arg0)
           
 void notifyElementEvicted(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
           
 void notifyElementExpired(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
           
 void notifyElementPut(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
           
 void notifyElementRemoved(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
           
 void notifyElementUpdated(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
           
 void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyCacheManagerEventListener

public MyCacheManagerEventListener()
Method Detail

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

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

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

notifyElementExpired

public void notifyElementExpired(net.sf.ehcache.Ehcache cache,
                                 net.sf.ehcache.Element element)
Specified by:
notifyElementExpired in interface net.sf.ehcache.event.CacheEventListener

dispose

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

clone

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

notifyElementEvicted

public void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
                                 net.sf.ehcache.Element element)
Specified by:
notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListener

notifyRemoveAll

public void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
Specified by:
notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListener

getStatus

public net.sf.ehcache.Status getStatus()
Specified by:
getStatus in interface net.sf.ehcache.event.CacheManagerEventListener

init

public void init()
          throws net.sf.ehcache.CacheException
Specified by:
init in interface net.sf.ehcache.event.CacheManagerEventListener
Throws:
net.sf.ehcache.CacheException

notifyCacheAdded

public void notifyCacheAdded(String arg0)
Specified by:
notifyCacheAdded in interface net.sf.ehcache.event.CacheManagerEventListener

notifyCacheRemoved

public void notifyCacheRemoved(String arg0)
Specified by:
notifyCacheRemoved in interface net.sf.ehcache.event.CacheManagerEventListener


Copyright © 2013. All Rights Reserved.