Package org.infinispan.xsite
Interface CustomFailurePolicy<K,V>
-
- All Superinterfaces:
CustomFailurePolicy<K,V>
@Deprecated public interface CustomFailurePolicy<K,V> extends CustomFailurePolicy<K,V>
Deprecated.since 11.0. UseCustomFailurePolicyinstead.Used for implementing custom policies in case of communication failures with a remote site. The handle methods are allowed to throw instances ofBackupFailureExceptionto 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:AbstractCustomFailurePolicyLifecycle: 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.- Since:
- 5.2
- Author:
- Mircea Markus
- See Also:
BackupFailureException
-
-
Method Summary
-
Methods inherited from interface org.infinispan.configuration.cache.CustomFailurePolicy
handleClearFailure, handleCommitFailure, handleComputeFailure, handleComputeIfAbsentFailure, handlePrepareFailure, handlePutAllFailure, handlePutFailure, handleReadWriteKeyFailure, handleReadWriteKeyValueFailure, handleReadWriteManyEntriesFailure, handleReadWriteManyFailure, handleRemoveFailure, handleReplaceFailure, handleRollbackFailure, handleWriteOnlyKeyFailure, handleWriteOnlyKeyValueFailure, handleWriteOnlyManyEntriesFailure, handleWriteOnlyManyFailure, init
-
-