Class RetryLogger
java.lang.Object
ubic.gemma.persistence.retry.RetryLogger
- All Implemented Interfaces:
org.springframework.retry.RetryListener
@Component
public class RetryLogger
extends Object
implements org.springframework.retry.RetryListener
Provide logging when an operation has failed and is being retried. This would not be needed if there was better
logging control over the default RetryContext.
- Author:
- paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<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) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.retry.RetryListener
onSuccess, open
-
Constructor Details
-
RetryLogger
public RetryLogger()
-
-
Method Details
-
close
-
onError
-