org.infinispan.remoting.transport.jgroups
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
JGroupsBackupResponse
public JGroupsBackupResponse(Map<XSiteBackup,Future<Object>> syncBackupCalls,
TimeService timeService)
waitForBackupToFinish
public void waitForBackupToFinish()
throws Exception
- Specified by:
waitForBackupToFinish
in interface BackupResponse
- 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 interface BackupResponse
getSendTimeMillis
public long getSendTimeMillis()
- Description copied from interface:
BackupResponse
- Return the time in millis when this operation was initiated.
- Specified by:
getSendTimeMillis
in interface BackupResponse
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface BackupResponse
getFailedBackups
public Map<String,Throwable> getFailedBackups()
- Specified by:
getFailedBackups
in interface BackupResponse
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.