Class RetryPolicy.RetryDecision

  • Enclosing interface:
    RetryPolicy

    public static class RetryPolicy.RetryDecision
    extends Object
    A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable exception).

    There are three possible decisions:

    • RETHROW: no retry should be attempted and an exception should be thrown.
    • RETRY: the operation will be retried. The consistency level of the retry should be specified.
    • IGNORE: no retry should be attempted and the exception should be ignored. In that case, the operation that triggered the Cassandra exception will return an empty result set.