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.CacheReplicatorpublic boolean notAlive()
notAlive in interface net.sf.ehcache.distribution.CacheReplicatorpublic boolean alive()
alive in interface net.sf.ehcache.distribution.CacheReplicatorpublic void notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementRemoved in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementPut in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementUpdated in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListenerpublic void notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementExpired in interface net.sf.ehcache.event.CacheEventListenerpublic void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListenerprotected abstract void replicatePutNotification(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.distribution.RemoteCacheException
net.sf.ehcache.distribution.RemoteCacheExceptionprotected abstract void replicateRemovalNotification(net.sf.ehcache.Ehcache cache,
Serializable key)
throws net.sf.ehcache.distribution.RemoteCacheException
net.sf.ehcache.distribution.RemoteCacheExceptionprotected abstract void replicateRemoveAllNotification(net.sf.ehcache.Ehcache cache)
public abstract Object clone() throws CloneNotSupportedException
clone in interface net.sf.ehcache.event.CacheEventListenerclone in class ObjectCloneNotSupportedExceptionpublic void dispose()
dispose in interface net.sf.ehcache.event.CacheEventListenerCopyright © 2002-2021 Atlassian. All Rights Reserved.