private class ServiceDynamicInterceptor.EventSenderRetryTemplate extends RetryTemplate
DEFAULT_WAIT_TIME| Constructor and Description |
|---|
EventSenderRetryTemplate() |
EventSenderRetryTemplate(long waitTime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callbackFailed(long stop)
Template method invoked when the retry has failed.
|
protected void |
callbackSucceeded(long stop)
Template method invoked when the retry succeeded.
|
protected void |
onMissingTarget()
Template method invoked if the backing service is missing.
|
equals, execute, getWaitTime, hashCode, resetpublic EventSenderRetryTemplate(long waitTime)
public EventSenderRetryTemplate()
protected void callbackFailed(long stop)
RetryTemplatecallbackFailed in class RetryTemplatestop - the time it took to execute the call (including waiting for
the service)protected void callbackSucceeded(long stop)
RetryTemplatecallbackSucceeded in class RetryTemplatestop - the time it took to execute the call (including waiting for
the service)protected void onMissingTarget()
RetryTemplateonMissingTarget in class RetryTemplate