org.infinispan.remoting.transport
Class AggregateBackupResponse

java.lang.Object
  extended by org.infinispan.remoting.transport.AggregateBackupResponse
All Implemented Interfaces:
BackupResponse

public class AggregateBackupResponse
extends Object
implements BackupResponse

Since:
5.2
Author:
Mircea Markus

Constructor Summary
AggregateBackupResponse(BackupResponse onePcResponse, BackupResponse twoPcResponse)
           
 
Method Summary
 boolean equals(Object o)
           
 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.
 int hashCode()
           
 boolean isEmpty()
           
 String toString()
           
 void waitForBackupToFinish()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregateBackupResponse

public AggregateBackupResponse(BackupResponse onePcResponse,
                               BackupResponse twoPcResponse)
Method Detail

waitForBackupToFinish

public void waitForBackupToFinish()
                           throws Exception
Specified by:
waitForBackupToFinish in interface BackupResponse
Throws:
Exception

getFailedBackups

public Map<String,Throwable> getFailedBackups()
Specified by:
getFailedBackups in interface BackupResponse

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

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface BackupResponse

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.