java.lang.Object
io.helidon.faulttolerance.FtSupport.RetryMethod
- All Implemented Interfaces:
- Interception.ElementInterceptor,- Interception.Interceptor
- Enclosing class:
- FtSupport
public abstract static class FtSupport.RetryMethod
extends Object
implements Interception.ElementInterceptor
A base interceptor service implementation to support 
Ft.Retry.- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.service.registry.Interception.InterceptorInterception.Interceptor.Chain<V>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<V> Vproceed(InterceptionContext ctx, Interception.Interceptor.Chain<V> chain, Object... args) Called during interception of the target V.protected abstract Retryretry()Provide a retry instance that should be used with this method.
- 
Constructor Details- 
RetryMethodprotected RetryMethod()Constructor with no side effects.
 
- 
- 
Method Details- 
proceedpublic <V> V proceed(InterceptionContext ctx, Interception.Interceptor.Chain<V> chain, Object... args) throws Exception Description copied from interface:Interception.InterceptorCalled during interception of the target V. The implementation typically should finish with the call toInterception.Interceptor.Chain.proceed(java.lang.Object[]).- Specified by:
- proceedin interface- Interception.Interceptor
- Type Parameters:
- V- the return value type (or- Voidfor void method elements)
- Parameters:
- ctx- the invocation context
- chain- the chain to call proceed on
- args- the arguments to the call
- Returns:
- the return value to the caller
- Throws:
- Exception- if there are any checked exceptions thrown by the underlying method, or any runtime exception thrown
 
- 
retryProvide a retry instance that should be used with this method. If the retry annotation contains a name, we will attempt to obtain the named instance from registry. If such a named instance does not exist a new retry will be created from the annotation.- Returns:
- retry instance
 
 
-