Class NeverRetryPolicy

java.lang.Object
org.springframework.retry.policy.NeverRetryPolicy
All Implemented Interfaces:
Serializable, RetryPolicy
Direct Known Subclasses:
AlwaysRetryPolicy

public class NeverRetryPolicy extends Object implements RetryPolicy
A RetryPolicy that allows the first attempt but never permits a retry. Also be used as a base class for other policies, e.g. for test purposes as a stub.
Author:
Dave Syer
See Also: