Package io.micronaut.retry.intercept
Class OverrideRetryInterceptor
java.lang.Object
io.micronaut.retry.intercept.OverrideRetryInterceptor
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,,Object> io.micronaut.aop.MethodInterceptor<Object,,Object> io.micronaut.core.order.Ordered
@Singleton
public class OverrideRetryInterceptor
extends Object
implements io.micronaut.aop.MethodInterceptor<Object,Object>
Replace
DefaultRetryInterceptor only to catch Throwable-
Field Summary
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionOverrideRetryInterceptor(io.micronaut.context.event.ApplicationEventPublisher<io.micronaut.retry.event.RetryEvent> eventPublisher) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
intercept
-
Constructor Details
-
OverrideRetryInterceptor
public OverrideRetryInterceptor(io.micronaut.context.event.ApplicationEventPublisher<io.micronaut.retry.event.RetryEvent> eventPublisher)
-
-
Method Details