Interface BackupResponse

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.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.
      java.util.Map<java.lang.String,​java.lang.Throwable> getFailedBackups()  
      long getSendTimeMillis()
      Return the time in millis when this operation was initiated.
      boolean isEmpty()  
      void notifyFinish​(java.util.function.LongConsumer timeElapsedConsumer)
      Registers a listener that is notified when the cross-site request is finished.
      void waitForBackupToFinish()  
    • Method Detail

      • waitForBackupToFinish

        void waitForBackupToFinish()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFailedBackups

        java.util.Map<java.lang.String,​java.lang.Throwable> getFailedBackups()
      • getCommunicationErrors

        java.util.Set<java.lang.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. due to a lock acquisition timeout).
      • getSendTimeMillis

        long getSendTimeMillis()
        Return the time in millis when this operation was initiated.
      • isEmpty

        boolean isEmpty()
      • notifyFinish

        void notifyFinish​(java.util.function.LongConsumer timeElapsedConsumer)
        Registers a listener that is notified when the cross-site request is finished.

        The parameter is the time spent in the network in milliseconds.

        Parameters:
        timeElapsedConsumer - The Consumer to be invoke.