Package io.smallrye.faulttolerance
Interface FaultToleranceOperationProvider
-
- All Known Implementing Classes:
DefaultFaultToleranceOperationProvider
public interface FaultToleranceOperationProviderAn integrator is allowed to provide a custom implementation ofFaultToleranceOperationProvider. The bean should beSingleton, must be marked as alternative and selected globally for an application.- Author:
- Martin Kouba
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FaultToleranceOperationget(Class<?> beanClass, Method method)Warning: Should always return the same operation for a given (beanClass, method) pair.
-
-
-
Method Detail
-
get
FaultToleranceOperation get(Class<?> beanClass, Method method)
Warning: Should always return the same operation for a given (beanClass, method) pair. The results may be cached by the fault tolerance mechanism.- Parameters:
beanClass-method-- Returns:
- a fault tolerance operation fot the given parameters
-
-