|Modifier and Type||Method and Description|
Returns the number of milliseconds to wait before retrying the operation.
public static final RetryStrategy INSTANCE
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 © 2017 The Apache Software Foundation. All rights reserved.