|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the number of milliseconds to wait before retrying the operation.
public RetryOnConflictStrategy(int maxRetries, long retryDelay)
public long nextRetry(TransactionFailureException reason, int failureCount)
reason- Reason for transaction failure.
failureCount- Number of times that the request has been failed.
0means retry it immediately, while negative means abort the operation.
Copyright © 2016 The Apache Software Foundation. All rights reserved.