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)
BackupSender
backupPrepare
in interface BackupSender
public InvocationStage backupWrite(WriteCommand command, WriteCommand originalCommand)
backupWrite
in interface BackupSender
public InvocationStage backupClear(ClearCommand command)
backupClear
in interface BackupSender
public InvocationStage backupCommit(CommitCommand command, Transaction transaction)
backupCommit
in interface BackupSender
public InvocationStage backupRollback(RollbackCommand command, Transaction transaction)
backupRollback
in interface BackupSender
Copyright © 2021 JBoss by Red Hat. All rights reserved.