Package io.mosip.kernel.core.retry
Class RetryListenerImpl
- java.lang.Object
-
- io.mosip.kernel.core.retry.RetryListenerImpl
-
- All Implemented Interfaces:
org.springframework.retry.RetryListener
@Component public class RetryListenerImpl extends Object implements org.springframework.retry.RetryListener
The Class RetryListenerImpl - to log failed invocations.- Author:
- Loganathan Sekar
-
-
Constructor Summary
Constructors Constructor Description RetryListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,E extends Throwable>
voidclose(org.springframework.retry.RetryContext context, org.springframework.retry.RetryCallback<T,E> callback, Throwable throwable)<T,E extends Throwable>
voidonError(org.springframework.retry.RetryContext context, org.springframework.retry.RetryCallback<T,E> callback, Throwable throwable)<T,E extends Throwable>
booleanopen(org.springframework.retry.RetryContext context, org.springframework.retry.RetryCallback<T,E> callback)
-
-
-
Method Detail
-
open
public <T,E extends Throwable> boolean open(org.springframework.retry.RetryContext context, org.springframework.retry.RetryCallback<T,E> callback)
- Specified by:
openin interfaceorg.springframework.retry.RetryListener
-
close
public <T,E extends Throwable> void close(org.springframework.retry.RetryContext context, org.springframework.retry.RetryCallback<T,E> callback, Throwable throwable)
- Specified by:
closein interfaceorg.springframework.retry.RetryListener
-
-