Class TypedGuardImpl<V,T>
java.lang.Object
io.smallrye.faulttolerance.core.apiimpl.TypedGuardImpl<V,T>
- All Implemented Interfaces:
TypedGuard<T>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.TypedGuard
TypedGuard.Builder<T> -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.faulttolerance.api.TypedGuard
adaptCallable, adaptSupplier
-
Method Details
-
call
- Specified by:
callin interfaceTypedGuard<V>- Throws:
Exception
-
get
- Specified by:
getin interfaceTypedGuard<V>
-
guard
public T guard(Callable<T> action, AsyncInvocation<V, T> asyncInvocation, Consumer<FaultToleranceContext<?>> contextModifier) throws Exception- Throws:
Exception
-