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
Throwable
public void testDefaultConfigWithExceptionSubclass() throws Throwable
Throwable
public void testRollbackClassifierOverridesRetryPolicy() throws Throwable
Throwable
public void testEarlyTerminationWithOriginalException() throws Throwable
Throwable
public void testNoBackOffForRethrownException() throws Throwable
BackOffPolicy
should apply also for exceptions that are re-thrown.Throwable
Copyright © 2014 SpringSource. All rights reserved.