Liferay 6.1.2-ce-ga3

com.liferay.portal.cache.cluster
Class EhcachePortalCacheClusterReplicator

java.lang.Object
  extended by com.liferay.portal.cache.cluster.EhcachePortalCacheClusterReplicator
All Implemented Interfaces:
Cloneable, net.sf.ehcache.distribution.CacheReplicator, net.sf.ehcache.event.CacheEventListener

public class EhcachePortalCacheClusterReplicator
extends Object
implements net.sf.ehcache.distribution.CacheReplicator


Constructor Summary
EhcachePortalCacheClusterReplicator(Properties properties)
           
 
Method Summary
 boolean alive()
           
 Object clone()
           
 void dispose()
           
 boolean isReplicateUpdatesViaCopy()
           
 boolean notAlive()
           
 void notifyElementEvicted(net.sf.ehcache.Ehcache ehcache, net.sf.ehcache.Element element)
           
 void notifyElementExpired(net.sf.ehcache.Ehcache ehcache, net.sf.ehcache.Element element)
           
 void notifyElementPut(net.sf.ehcache.Ehcache ehcache, net.sf.ehcache.Element element)
           
 void notifyElementRemoved(net.sf.ehcache.Ehcache ehcache, net.sf.ehcache.Element element)
           
 void notifyElementUpdated(net.sf.ehcache.Ehcache ehcache, net.sf.ehcache.Element element)
           
 void notifyRemoveAll(net.sf.ehcache.Ehcache ehcache)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcachePortalCacheClusterReplicator

public EhcachePortalCacheClusterReplicator(Properties properties)
Method Detail

alive

public boolean alive()
Specified by:
alive in interface net.sf.ehcache.distribution.CacheReplicator

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

isReplicateUpdatesViaCopy

public boolean isReplicateUpdatesViaCopy()
Specified by:
isReplicateUpdatesViaCopy in interface net.sf.ehcache.distribution.CacheReplicator

notAlive

public boolean notAlive()
Specified by:
notAlive in interface net.sf.ehcache.distribution.CacheReplicator

notifyElementEvicted

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

notifyElementExpired

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

notifyElementPut

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

Liferay 6.1.2-ce-ga3