public interface ReplicationPauserManager
Modifier and Type | Method and Description |
---|---|
boolean |
isReplicationPaused()
Checks if replication is paused for current thread
|
void |
pauseReplicationFor(Runnable codeWillNotTriggerCacheReplication,
String logContext)
Disables sending cache replication events for the time of running codeWillNotTriggerCacheReplication.
|
boolean isReplicationPaused()
void pauseReplicationFor(Runnable codeWillNotTriggerCacheReplication, String logContext)
codeWillNotTriggerCacheReplication
- - code to be run without cache replicationlogContext
- - log context to be able to understand the reason cache replication is pausedCopyright © 2002-2022 Atlassian. All Rights Reserved.