Skip to content

Instantly share code, notes, and snippets.

@chbatey
Created October 3, 2013 15:33
Show Gist options
  • Select an option

  • Save chbatey/6811823 to your computer and use it in GitHub Desktop.

Select an option

Save chbatey/6811823 to your computer and use it in GitHub Desktop.
Use of fixed retry policy
Cluster cluster = Cluster.builder()
.addContactPoint("127.0.0.1")
.withRetryPolicy(new LoggingRetryPolicy(new FixedNumberRetryPolicy(3)))
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment