|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
BackupResponse
Nested Class Summary | |
---|---|
static class |
BackupSender.BringSiteOnlineResponse
|
static class |
BackupSender.TakeSiteOfflineResponse
|
Method Summary | |
---|---|
BackupResponse |
backupCommit(CommitCommand command)
|
BackupResponse |
backupPrepare(PrepareCommand command)
Prepares a transaction on the remote site. |
BackupResponse |
backupRollback(RollbackCommand command)
|
BackupResponse |
backupWrite(WriteCommand command)
|
BackupSender.BringSiteOnlineResponse |
bringSiteOnline(String siteName)
Brings a site with the given name back online. |
OfflineStatus |
getOfflineStatus(String siteName)
|
void |
processResponses(BackupResponse backupResponse,
VisitableCommand command)
Processes the responses of a backup command. |
void |
processResponses(BackupResponse backupResponse,
VisitableCommand command,
Transaction transaction)
|
Map<String,Boolean> |
status()
Returns a Map having as entries the site names and as value Boolean.TRUE if the site is online and Boolean.FALSE if it is offline. |
BackupSender.TakeSiteOfflineResponse |
takeSiteOffline(String siteName)
|
Method Detail |
---|
BackupResponse backupPrepare(PrepareCommand command) throws Exception
Exception
void processResponses(BackupResponse backupResponse, VisitableCommand command) throws Throwable
CustomFailurePolicy
.
Throwable
BackupResponse backupWrite(WriteCommand command) throws Exception
Exception
BackupResponse backupCommit(CommitCommand command) throws Exception
Exception
BackupResponse backupRollback(RollbackCommand command) throws Exception
Exception
void processResponses(BackupResponse backupResponse, VisitableCommand command, Transaction transaction) throws Throwable
Throwable
OfflineStatus getOfflineStatus(String siteName)
Map<String,Boolean> status()
BackupSender.BringSiteOnlineResponse bringSiteOnline(String siteName)
BackupSender.TakeSiteOfflineResponse takeSiteOffline(String siteName)
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |