public class NoOpBackupSender extends Object implements BackupSender
BackupSender.
This class is used when cross-site replication is disabled.
| Modifier and Type | Method and Description |
|---|---|
InvocationStage |
backupClear(ClearCommand command) |
InvocationStage |
backupCommit(CommitCommand command,
Transaction transaction) |
InvocationStage |
backupPrepare(PrepareCommand command,
AbstractCacheTransaction cacheTransaction,
Transaction transaction)
Prepares a transaction on the remote site.
|
InvocationStage |
backupRollback(RollbackCommand command,
Transaction transaction) |
InvocationStage |
backupWrite(WriteCommand command,
WriteCommand originalCommand) |
static NoOpBackupSender |
getInstance() |
String |
toString() |
public static NoOpBackupSender getInstance()
public InvocationStage backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, Transaction transaction)
BackupSenderbackupPrepare in interface BackupSenderpublic InvocationStage backupWrite(WriteCommand command, WriteCommand originalCommand)
backupWrite in interface BackupSenderpublic InvocationStage backupClear(ClearCommand command)
backupClear in interface BackupSenderpublic InvocationStage backupCommit(CommitCommand command, Transaction transaction)
backupCommit in interface BackupSenderpublic InvocationStage backupRollback(RollbackCommand command, Transaction transaction)
backupRollback in interface BackupSenderCopyright © 2022 JBoss by Red Hat. All rights reserved.