Package io.smallrye.faulttolerance
Class CdiSpi
java.lang.Object
io.smallrye.faulttolerance.CdiSpi
- All Implemented Interfaces:
Spi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies()<T,R> FaultTolerance.Builder <T, R> newAsyncBuilder(Class<?> asyncType, Function<FaultTolerance<T>, R> finisher) Deprecated, for removal: This API element is subject to removal in a future version.<T,R> FaultTolerance.Builder <T, R> newBuilder(Function<FaultTolerance<T>, R> finisher) Deprecated, for removal: This API element is subject to removal in a future version.<T> TypedGuard.Builder<T> newTypedGuardBuilder(Type type) intpriority()
-
Constructor Details
-
CdiSpi
public CdiSpi()
-
-
Method Details
-
applies
public boolean applies() -
priority
public int priority() -
newGuardBuilder
- Specified by:
newGuardBuilderin interfaceSpi
-
newTypedGuardBuilder
- Specified by:
newTypedGuardBuilderin interfaceSpi
-
newBuilder
@Deprecated(forRemoval=true) public <T,R> FaultTolerance.Builder<T,R> newBuilder(Function<FaultTolerance<T>, R> finisher) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newBuilderin interfaceSpi
-
newAsyncBuilder
@Deprecated(forRemoval=true) public <T,R> FaultTolerance.Builder<T,R> newAsyncBuilder(Class<?> asyncType, Function<FaultTolerance<T>, R> finisher) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newAsyncBuilderin interfaceSpi
-
circuitBreakerMaintenance
- Specified by:
circuitBreakerMaintenancein interfaceSpi
-