public class RetryTemplateTests extends Object
| Constructor and Description |
|---|
RetryTemplateTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAlwaysTryAtLeastOnce() |
void |
testBackOffInterrupted() |
void |
testBackOffInvoked() |
void |
testDefaultConfigWithExceptionSubclass() |
void |
testEarlyTermination() |
void |
testEarlyTerminationWithOriginalException() |
void |
testFailedPolicy() |
void |
testNestedContexts() |
void |
testNoBackOffForRethrownException()
BackOffPolicy should apply also for exceptions that are re-thrown. |
void |
testNoSuccessRetry() |
void |
testRethrowError() |
void |
testRollbackClassifierOverridesRetryPolicy() |
void |
testSetExceptions() |
void |
testSpecificExceptionRetry() |
void |
testSuccessfulRecovery() |
void |
testSuccessfulRetry() |
public void testSpecificExceptionRetry()
throws Throwable
Throwablepublic void testDefaultConfigWithExceptionSubclass()
throws Throwable
Throwablepublic void testRollbackClassifierOverridesRetryPolicy()
throws Throwable
Throwablepublic void testEarlyTerminationWithOriginalException()
throws Throwable
Throwablepublic void testNoBackOffForRethrownException()
throws Throwable
BackOffPolicy should apply also for exceptions that are re-thrown.ThrowableCopyright © 2014 SpringSource. All rights reserved.