ome.services.sessions.state
Class CacheListener

java.lang.Object
  extended by ome.services.sessions.state.CacheListener
All Implemented Interfaces:
Cloneable, net.sf.ehcache.event.CacheEventListener

public class CacheListener
extends Object
implements net.sf.ehcache.event.CacheEventListener

Basic CacheEventListener which does nothing.

Since:
3.0-Beta3
Author:
Josh Moore

Constructor Summary
CacheListener()
           
 
Method Summary
 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 Object clone()
             throws CloneNotSupportedException
Specified by:
clone in interface net.sf.ehcache.event.CacheEventListener
Overrides:
clone in class Object
Throws:
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


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.