public final class AutoCompensableRecoveryPolicyFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static AutoCompensableRecoveryPolicy |
getRecoveryPolicy(int retries)
If the value of the variable 'retries' equals 0, use the default recovery to execute only once.
|
protected static AutoCompensableRecoveryPolicy getRecoveryPolicy(int retries)
retries - times for retryingCopyright © 2019 The Apache Software Foundation. All rights reserved.