Package org.infinispan.xsite
Class NoOpBackupSender
- java.lang.Object
-
- org.infinispan.xsite.NoOpBackupSender
-
- All Implemented Interfaces:
BackupSender
public class NoOpBackupSender extends Object implements BackupSender
A no-op implementation ofBackupSender.This class is used when cross-site replication is disabled.
- Since:
- 10.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InvocationStagebackupClear(ClearCommand command)InvocationStagebackupCommit(CommitCommand command, Transaction transaction)InvocationStagebackupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, Transaction transaction)Prepares a transaction on the remote site.InvocationStagebackupRollback(RollbackCommand command, Transaction transaction)InvocationStagebackupWrite(WriteCommand command, WriteCommand originalCommand)static NoOpBackupSendergetInstance()StringtoString()
-
-
-
Method Detail
-
getInstance
public static NoOpBackupSender getInstance()
-
backupPrepare
public InvocationStage backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, Transaction transaction)
Description copied from interface:BackupSenderPrepares a transaction on the remote site.- Specified by:
backupPreparein interfaceBackupSender
-
backupWrite
public InvocationStage backupWrite(WriteCommand command, WriteCommand originalCommand)
- Specified by:
backupWritein interfaceBackupSender
-
backupClear
public InvocationStage backupClear(ClearCommand command)
- Specified by:
backupClearin interfaceBackupSender
-
backupCommit
public InvocationStage backupCommit(CommitCommand command, Transaction transaction)
- Specified by:
backupCommitin interfaceBackupSender
-
backupRollback
public InvocationStage backupRollback(RollbackCommand command, Transaction transaction)
- Specified by:
backupRollbackin interfaceBackupSender
-
-