All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.remoting.transport.BackupResponse Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.remoting.transport;

import java.util.Map;
import java.util.Set;

/**
 * Represents a response from a backup replication call.
 *
 * @author Mircea Markus
 * @since 5.2
 */
public interface BackupResponse {

   void waitForBackupToFinish() throws Exception;

   Map getFailedBackups();

   /**
    * 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).
    */
   Set getCommunicationErrors();

   /**
    * Return the time in millis when this operation was initiated.
    */
   long getSendTimeMillis();

   boolean isEmpty();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy