Class GuardImpl
java.lang.Object
io.smallrye.faulttolerance.apiimpl.GuardImpl
- All Implemented Interfaces:
io.smallrye.faulttolerance.api.Guard
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.Guard
io.smallrye.faulttolerance.api.Guard.Builder -
Method Summary
Modifier and TypeMethodDescription<T> T<T> T<T> T<T> T<V,T> T guard(Callable<T> action, AsyncInvocation<V, T> asyncInvocation, Consumer<io.smallrye.faulttolerance.core.FaultToleranceContext<?>> contextModifier) 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.Guard
adaptCallable, adaptCallable, adaptSupplier, adaptSupplier
-
Method Details
-
call
- Specified by:
callin interfaceio.smallrye.faulttolerance.api.Guard- Throws:
Exception
-
call
- Specified by:
callin interfaceio.smallrye.faulttolerance.api.Guard- Throws:
Exception
-
get
- Specified by:
getin interfaceio.smallrye.faulttolerance.api.Guard
-
get
- Specified by:
getin interfaceio.smallrye.faulttolerance.api.Guard
-
guard
public <V,T> T guard(Callable<T> action, AsyncInvocation<V, T> asyncInvocation, Consumer<io.smallrye.faulttolerance.core.FaultToleranceContext<?>> contextModifier) throws Exception- Throws:
Exception
-