CDI Support for Microprofile Fault Tolerance
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ExecutionContext
The execution context for the method being executed. |
| public interface | FallbackHandler<T>
The handler instance used by the container to service a fallback invocation is a non-contextual instance created using the CDI SPI. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | Asynchronous
Wrap the execution and invoke it asynchronously. |
| public @interface | Bulkhead
Define bulkhead policy to limit the number of the concurrent calls to an instance. |
| public @interface | CircuitBreaker
Defines a circuit breaker policy to an individual method or a class. |
| public @interface | Fallback
The fallback annotation to define the fallback handler class so that a failure can be handled properly. |
| public @interface | Retry
The retry annotation to define the number of retries. |
| public @interface | Timeout
The annotation to define a method execution timeout. |