public class JGroupsBackupResponse extends Object implements BackupResponse
Constructor and Description |
---|
JGroupsBackupResponse(Map<XSiteBackup,Future<Object>> syncBackupCalls,
TimeService timeService) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCommunicationErrors()
Returns the list of sites where the backups failed due to a bridge communication error (as opposed to an
error caused by Infinispan, e.g.
|
Map<String,Throwable> |
getFailedBackups() |
long |
getSendTimeMillis()
Return the time in millis when this operation was initiated.
|
boolean |
isEmpty() |
String |
toString() |
void |
waitForBackupToFinish() |
public JGroupsBackupResponse(Map<XSiteBackup,Future<Object>> syncBackupCalls, TimeService timeService)
public void waitForBackupToFinish() throws Exception
waitForBackupToFinish
in interface BackupResponse
Exception
public Set<String> getCommunicationErrors()
BackupResponse
getCommunicationErrors
in interface BackupResponse
public long getSendTimeMillis()
BackupResponse
getSendTimeMillis
in interface BackupResponse
public boolean isEmpty()
isEmpty
in interface BackupResponse
public Map<String,Throwable> getFailedBackups()
getFailedBackups
in interface BackupResponse
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.