Module: policies/retry

Classes

FallthroughRetryPolicy
IdempotenceAwareRetryPolicy
RetryPolicy

Type Definitions

DecisionInfo

Decision information
Type:
  • Object
Properties:
Name Type Attributes Description
decision Number The decision as specified in retryDecision.
consistency Number <optional>
The consistency level.
useCurrentHost useCurrentHost <optional>
Determines if it should use the same host to retry the request.

OperationInfo

Request information.
Type:
  • Object
Properties:
Name Type Description
query String The query that was executed.
options QueryOptions The options for the query that was executed.
nbRetry Number The number of retries already performed for this operation.
handler Object DEPRECATED: it will be removed in the next major version. The request handler.
request Object DEPRECATED: it will be removed in the next major version. Represents the request that was executed.
retryOnTimeout. Boolean DEPRECATED: it will be removed in the next major version. The value as specified in the QueryOptions for this operation. Use OperationInfo.options value instead.