Class FaultToleranceImpl<V,S,T>
- java.lang.Object
-
- io.smallrye.faulttolerance.core.apiimpl.FaultToleranceImpl<V,S,T>
-
- All Implemented Interfaces:
FaultTolerance<T>
public final class FaultToleranceImpl<V,S,T> extends Object implements FaultTolerance<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaultToleranceImpl.BuilderImpl<T,R>-
Nested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.FaultTolerance
FaultTolerance.Builder<T extends Object,R extends Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcall(Callable<T> action)<U> FaultTolerance<U>cast()<U> FaultTolerance<U>castAsync(Class<?> asyncType)voidrun(Runnable action)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.faulttolerance.api.FaultTolerance
adaptCallable, adaptRunnable, adaptSupplier, get
-
-
-
-
Method Detail
-
call
public T call(Callable<T> action) throws Exception
- Specified by:
callin interfaceFaultTolerance<V>- Throws:
Exception
-
run
public void run(Runnable action)
- Specified by:
runin interfaceFaultTolerance<V>
-
cast
public <U> FaultTolerance<U> cast()
- Specified by:
castin interfaceFaultTolerance<V>
-
castAsync
public <U> FaultTolerance<U> castAsync(Class<?> asyncType)
- Specified by:
castAsyncin interfaceFaultTolerance<V>
-
-