Package org.infinispan.xsite
Interface BackupSender
- All Known Implementing Classes:
BackupSenderImpl
,NoOpBackupSender
public interface BackupSender
Component responsible with sending backup data to remote sites. The send operation is executed async, it's up to the
caller to wait on the returned
BackupResponse
in the case it wants an sync call.- Since:
- 5.2
- Author:
- Mircea Markus
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbackupClear
(ClearCommand command) backupCommit
(CommitCommand command, javax.transaction.Transaction transaction) backupPrepare
(PrepareCommand command, AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction) Prepares a transaction on the remote site.backupRollback
(RollbackCommand command, javax.transaction.Transaction transaction) backupWrite
(WriteCommand command, WriteCommand originalCommand)
-
Method Details
-
backupPrepare
InvocationStage backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction) Prepares a transaction on the remote site. -
backupCommit
-
backupRollback
-
backupWrite
-
backupClear
-