in java/datastax-v4/connection-vpc-endpoint/src/main/java/software/aws/mcs/example/AmazonKeyspacesRetryPolicy.java [100:117]
public RetryDecision onReadTimeout(
@NonNull Request request,
@NonNull ConsistencyLevel cl,
int blockFor,
int received,
boolean dataPresent,
int retryCount) {
RetryDecision decision = determineRetryDecision(retryCount);
if (LOG.isTraceEnabled() && (decision == RetryDecision.RETRY_SAME || decision == RetryDecision.RETHROW)) {
LOG.trace(RETRYING_ON_READ_TIMEOUT, logPrefix, cl, blockFor, received, false, retryCount);
}
return decision;
}