public abstract class AbstractJiraCacheReplicator extends Object implements net.sf.ehcache.distribution.CacheReplicator
BlockingParallelCacheReplicator
.Modifier and Type | Field and Description |
---|---|
protected boolean |
replicatePuts |
protected boolean |
replicatePutsViaCopy |
protected boolean |
replicateRemovals |
protected boolean |
replicateUpdates |
protected boolean |
replicateUpdatesViaCopy |
protected java.util.function.Supplier<ReplicationPauserManager> |
replicationPauserManager |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJiraCacheReplicator(boolean replicatePuts,
boolean replicatePutsViaCopy,
boolean replicateUpdates,
boolean replicateUpdatesViaCopy,
boolean replicateRemovals,
java.util.function.Supplier<ReplicationPauserManager> replicationPauserManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
alive() |
abstract Object |
clone() |
void |
dispose() |
boolean |
isReplicateUpdatesViaCopy() |
boolean |
notAlive() |
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) |
protected abstract void |
replicatePutNotification(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
protected abstract void |
replicateRemovalNotification(net.sf.ehcache.Ehcache cache,
Serializable key) |
protected abstract void |
replicateRemoveAllNotification(net.sf.ehcache.Ehcache cache) |
protected final boolean replicatePuts
protected final boolean replicatePutsViaCopy
protected final boolean replicateUpdates
protected final boolean replicateUpdatesViaCopy
protected final boolean replicateRemovals
protected final java.util.function.Supplier<ReplicationPauserManager> replicationPauserManager
protected AbstractJiraCacheReplicator(boolean replicatePuts, boolean replicatePutsViaCopy, boolean replicateUpdates, boolean replicateUpdatesViaCopy, boolean replicateRemovals, java.util.function.Supplier<ReplicationPauserManager> replicationPauserManager)
public boolean isReplicateUpdatesViaCopy()
isReplicateUpdatesViaCopy
in interface net.sf.ehcache.distribution.CacheReplicator
public boolean notAlive()
notAlive
in interface net.sf.ehcache.distribution.CacheReplicator
public boolean alive()
alive
in interface net.sf.ehcache.distribution.CacheReplicator
public void notifyElementRemoved(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException
notifyElementRemoved
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyElementPut(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException
notifyElementPut
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyElementUpdated(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) throws net.sf.ehcache.CacheException
notifyElementUpdated
in interface net.sf.ehcache.event.CacheEventListener
net.sf.ehcache.CacheException
public void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll
in interface net.sf.ehcache.event.CacheEventListener
public void notifyElementExpired(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
notifyElementExpired
in interface net.sf.ehcache.event.CacheEventListener
public void notifyElementEvicted(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element)
notifyElementEvicted
in interface net.sf.ehcache.event.CacheEventListener
protected abstract void replicatePutNotification(net.sf.ehcache.Ehcache cache, net.sf.ehcache.Element element) throws net.sf.ehcache.distribution.RemoteCacheException
net.sf.ehcache.distribution.RemoteCacheException
protected abstract void replicateRemovalNotification(net.sf.ehcache.Ehcache cache, Serializable key) throws net.sf.ehcache.distribution.RemoteCacheException
net.sf.ehcache.distribution.RemoteCacheException
protected abstract void replicateRemoveAllNotification(net.sf.ehcache.Ehcache cache)
public abstract Object clone() throws CloneNotSupportedException
clone
in interface net.sf.ehcache.event.CacheEventListener
clone
in class Object
CloneNotSupportedException
public void dispose()
dispose
in interface net.sf.ehcache.event.CacheEventListener
Copyright © 2002-2019 Atlassian. All Rights Reserved.