policies.go 382 B

12345678910
  1. // Copyright (c) 2012 The gocql Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //This file will be the future home for more policies
  5. package gocql
  6. // RetryPolicy represents the retry behavour for a query.
  7. type RetryPolicy struct {
  8. NumRetries int //Number of times to retry a query
  9. }