|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.retry.policy.NeverRetryPolicy
org.springframework.batch.retry.policy.AlwaysRetryPolicy
public class AlwaysRetryPolicy
A RetryPolicy that always permits a retry. Can also be used as a base
class for other policies, e.g. for test purposes as a stub.
| Constructor Summary | |
|---|---|
AlwaysRetryPolicy()
|
|
| Method Summary | |
|---|---|
boolean |
canRetry(RetryContext context)
Always returns true. |
| Methods inherited from class org.springframework.batch.retry.policy.NeverRetryPolicy |
|---|
close, open, registerThrowable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlwaysRetryPolicy()
| Method Detail |
|---|
public boolean canRetry(RetryContext context)
canRetry in interface RetryPolicycanRetry in class NeverRetryPolicycontext - the current retry status
RetryPolicy.canRetry(org.springframework.batch.retry.RetryContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||