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

org.infinispan.xsite.CustomFailurePolicy Maven / Gradle / Ivy

There is a newer version: 9.4.8.Final
Show newest version
package org.infinispan.xsite;

/**
 * Used for implementing custom policies in case of communication failures with a remote site. The handle methods are
 * allowed to throw instances of {@link BackupFailureException} to signal that they want the intra-site operation to
 * fail as well. If handle methods don't throw any exception then the operation will succeed in the local cluster. For
 * convenience, there is a support implementation of this class: {@link AbstractCustomFailurePolicy}
  * Lifecycle: the same instance is invoked during the lifecycle of a cache so it is allowed to hold state between
 * invocations.
  * Threadsafety: instances of this class might be invoked from different threads and they should be synchronized.
 *
 * @author Mircea Markus
 * @see BackupFailureException
 * @since 5.2
 * @deprecated since 11.0. Use {@link org.infinispan.configuration.cache.CustomFailurePolicy} instead.
 */
@Deprecated(forRemoval=true, since = "11.0")
public interface CustomFailurePolicy extends org.infinispan.configuration.cache.CustomFailurePolicy {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy