Interface BulkWriter.WriteErrorCallback

Enclosing class:
BulkWriter

public static interface BulkWriter.WriteErrorCallback
A callback set by `addWriteErrorListener()` to be run every time an operation fails and determines if an operation should be retried.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • onError

      boolean onError(BulkWriterException error)
      Parameters:
      error - The error object from the failed BulkWriter operation attempt.
      Returns:
      Whether to retry the operation or not.