Class JGroupsBackupResponse
- java.lang.Object
-
- org.infinispan.remoting.transport.jgroups.JGroupsBackupResponse
-
- All Implemented Interfaces:
BackupResponse
public class JGroupsBackupResponse extends Object implements BackupResponse
- Since:
- 5.2
- Author:
- Mircea Markus
-
-
Constructor Summary
Constructors Constructor Description JGroupsBackupResponse(Map<XSiteBackup,Future<ValidResponse>> syncBackupCalls, TimeService timeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
JGroupsBackupResponse
public JGroupsBackupResponse(Map<XSiteBackup,Future<ValidResponse>> syncBackupCalls, TimeService timeService)
-
-
Method Detail
-
waitForBackupToFinish
public void waitForBackupToFinish() throws Exception
- Specified by:
waitForBackupToFinish
in interfaceBackupResponse
- Throws:
Exception
-
getCommunicationErrors
public Set<String> getCommunicationErrors()
Description copied from interface:BackupResponse
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. due to a lock acquisition timeout).- Specified by:
getCommunicationErrors
in interfaceBackupResponse
-
getSendTimeMillis
public long getSendTimeMillis()
Description copied from interface:BackupResponse
Return the time in millis when this operation was initiated.- Specified by:
getSendTimeMillis
in interfaceBackupResponse
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceBackupResponse
-
getFailedBackups
public Map<String,Throwable> getFailedBackups()
- Specified by:
getFailedBackups
in interfaceBackupResponse
-
-